[U-Boot] [PATCH v2 04/40] fdt: Add functions to retrieve strings
Simon Glass
sjg at chromium.org
Wed Aug 27 20:53:16 CEST 2014
Hi Thierry,
On 26 August 2014 09:33, Thierry Reding <thierry.reding at gmail.com> wrote:
> From: Thierry Reding <treding at nvidia.com>
>
> 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: Thierry Reding <treding at nvidia.com>
Acked-by: Simon Glass <sjg at chromium.org>
Could be fdt_stringlist_lookup() maybe. But there's no point guessing
until you send this upstream.
Regards,
Simon
More information about the U-Boot
mailing list