]> git.sur5r.net Git - u-boot/commit
fdt: introduce fdtdec_get_child_count
authorPeng Fan <van.freenix@gmail.com>
Mon, 1 Feb 2016 05:31:15 +0000 (13:31 +0800)
committerAnatolij Gustschin <agust@denx.de>
Sat, 6 Feb 2016 13:43:04 +0000 (14:43 +0100)
commit1889a7e275c82cfa120004595a652e834c3723e1
tree88d8f58ab620d456940dff9dd373bff66e4189c4
parentc4a45d4bdd68a24dd60fc3905649d23f7aec8a80
fdt: introduce fdtdec_get_child_count

Introduce fdtdec_get_child_count for get the number of subnodes
of one parent node.

Signed-off-by: Peng Fan <van.freenix@gmail.com>
Cc: Simon Glass <sjg@chromium.org>
Acked-by: Simon Glass <sjg@chromium.org>
include/fdtdec.h
lib/fdtdec.c