[U-Boot] [PATCH v2 03/40] fdt: Add a function to get the index of a string

Simon Glass sjg at chromium.org
Wed Aug 27 20:51:59 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 and a property name, the new fdt_find_string()
> function will look up a given string in the string list contained in the
> property's value and return its index.
>
> Signed-off-by: Thierry Reding <treding at nvidia.com>

fdt_stringlist_find() maybe? Will see what happens when you upstream.

Acked-by: Simon Glass <sjg at chromium.org>

Regards,
Simon


More information about the U-Boot mailing list