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

Simon Glass sjg at chromium.org
Tue Feb 2 01:05:21 CET 2016


On 31 January 2016 at 22:31, 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(+)

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


More information about the U-Boot mailing list