libfdt: Make fdtdec_get_child_count() available for HOST
authorKever Yang <kever.yang@rock-chips.com>
Mon, 30 Mar 2020 03:56:23 +0000 (11:56 +0800)
committerTom Rini <trini@konsulko.com>
Fri, 24 Apr 2020 14:10:01 +0000 (10:10 -0400)
commit10d887ddfa4f94aa94cf7a6d3dd4f28a339a2f13
tree016dcfd3b6ef9dc8e66dac8fa4641c7fbc4afecb
parent02560b13689650cf0d2f5825eaf480629ce9238f
libfdt: Make fdtdec_get_child_count() available for HOST

The tool need to use fdtdec_get_child_count(), make it available for
HOST_CC.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Punit Agrawal <punit1.agrawal@toshiba.co.jp>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/fdt_support.h
lib/fdtdec.c
lib/fdtdec_common.c