[U-Boot] [PATCH v2 02/40] fdt: Add a function to count strings

Simon Glass sjg at chromium.org
Wed Aug 27 20:51:04 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 fdt_count_strings()
> function counts the number of strings found in the property value.
>
> Signed-off-by: Thierry Reding <treding at nvidia.com>

A better name might be fdt_stringlist_count() given that we have
fdt_stringlist_contains(). But let's take this and see what happens
when you send it upstream.

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

Regards,
Simon


More information about the U-Boot mailing list