]> git.ipfire.org Git - people/ms/u-boot.git/commit
fdt: Add a function to count strings
authorThierry Reding <treding@nvidia.com>
Tue, 26 Aug 2014 15:33:50 +0000 (17:33 +0200)
committerSimon Glass <sjg@chromium.org>
Wed, 22 Oct 2014 22:56:40 +0000 (16:56 -0600)
commitbc4147ab2d698bf7375a10af73ce34d76129edff
treea5e205438538b11f1c36b4771764e70034270a30
parenta84c8107d9b050fe8a31220d28588abfc2d99aee
fdt: Add a function to count strings

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@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
include/libfdt.h
lib/libfdt/fdt_ro.c