Skip to content
Snippets Groups Projects
Commit 5094eb40 authored by Thierry Reding's avatar Thierry Reding Committed by Simon Glass
Browse files

fdt: Add functions to retrieve strings


Given a device tree node, a property name and an index, the new function
fdt_get_string_index() will return in an output argument a pointer to
the index'th string in the property's value.

The fdt_get_string() is a shortcut for the above with the index being 0.

Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
parent fc503c17
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment