libfdt: Export overlay_apply_node() as fdt_overlay_apply_node()
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Sat, 11 Apr 2020 18:43:07 +0000 (20:43 +0200)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Wed, 20 May 2020 11:20:19 +0000 (13:20 +0200)
commitc1bde2378a7673c992783b4c00729a52ba18e830
treeac8c26693e7bfbdf832117c72fd89377a961e414
parentc2279d784e35fa25ee3a9fa28a74a1ba545f8c1e
libfdt: Export overlay_apply_node() as fdt_overlay_apply_node()

This function is useful to merge a subset of DT into another DT, for
example if some prior-stage firmware passes a DT fragment to U-Boot
and U-Boot needs to merge it into its own DT. Export this function
to permit implementing such functionality.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Cc: Simon Glass <sjg@chromium.org>
Cc: Tom Rini <trini@konsulko.com>
scripts/dtc/libfdt/fdt_overlay.c
scripts/dtc/libfdt/libfdt.h