dtc/libfdt
Thierry Reding 2218387a8c fdt: Add a function to count strings
Given a device tree node and a property name, the fdt_stringlist_count()
function counts the number of strings found in the property value.

This also adds a new error code, FDT_ERR_BADVALUE, that the function
returns when it encounters a non-NUL-terminated string list.

Signed-off-by: Thierry Reding <treding@nvidia.com>
[Changed testcase name --dwg]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2015-09-30 13:16:35 +10:00
..
fdt.c libfdt: Add fdt_next_subnode() to permit easy subnode iteration 2013-04-28 07:30:49 -05:00
fdt.h Added license header to dtc/libfdt/fdt.h and libfdt_env.h 2013-02-18 08:03:50 -06:00
fdt_addresses.c libfdt: Add helpers to read #address-cells and #size-cells 2014-05-12 16:01:09 +10:00
fdt_empty_tree.c libfdt: Add helper function to create a trivial, empty tree 2012-06-03 09:16:17 -05:00
fdt_ro.c fdt: Add a function to count strings 2015-09-30 13:16:35 +10:00
fdt_rw.c libfdt: avoid shadowing "err" in FDT_RW_CHECK_HEADER 2014-01-25 15:11:20 +11:00
fdt_strerror.c libfdt: Increase namespace-pollution paranoia 2008-07-14 12:36:27 -05:00
fdt_sw.c libfdt: Add function to resize the buffer for a sequential write tree 2013-10-26 00:17:37 +11:00
fdt_wip.c dtc/libfdt: sparse fixes 2013-01-06 15:58:23 -06:00
libfdt.h fdt: Add a function to count strings 2015-09-30 13:16:35 +10:00
libfdt_env.h Added license header to dtc/libfdt/fdt.h and libfdt_env.h 2013-02-18 08:03:50 -06:00
libfdt_internal.h libfdt: avoid shadowing "err" in FDT_CHECK_HEADER 2014-01-25 15:11:20 +11:00
Makefile.libfdt libfdt: Add helpers to read #address-cells and #size-cells 2014-05-12 16:01:09 +10:00
TODO dtc: Update TODO files 2007-12-19 08:20:26 -06:00
version.lds libfdt: Add fdt_path_offset_namelen() 2015-04-07 14:11:47 +10:00