Commit 604e61e0 authored by Thierry Reding's avatar Thierry Reding Committed by David Gibson
Browse files

fdt: Add functions to retrieve strings



Given a device tree node, a property name and an index, the new function
fdt_stringlist_get() will return a pointer to the index'th string in the
property's value and return its length (or an error code on failure) in
an output argument.

Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
[Fix some -Wshadow warnings --dwg]
Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
parent 8702bd1d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment