[U-Boot] [PATCH V2] fdt: introduce fdtdec_get_child_count

Anatolij Gustschin agust at denx.de
Sat Feb 6 14:49:37 CET 2016


On Mon,  1 Feb 2016 13:31:15 +0800
Peng Fan van.freenix at gmail.com wrote:

> Introduce fdtdec_get_child_count for get the number of subnodes
> of one parent node.
> 
> Signed-off-by: Peng Fan <van.freenix at gmail.com>
> Cc: Simon Glass <sjg at chromium.org>
> ---
> 
> V2:
>  correct spell error.
>  renamed to fdtdec_get_child_count, move code to lib/fdtdec.c and add
>  prototype in include/fdtdec.h
> 
>  include/fdtdec.h |  9 +++++++++
>  lib/fdtdec.c     | 11 +++++++++++
>  2 files changed, 20 insertions(+)

applied to u-boot-staging, thanks!

--
Anatolij


More information about the U-Boot mailing list