
My goal is to sync lib/libfdt/ with scripts/dtc/libfdt/, that is, make lib/libfdt/ contain only wrapper files.
fdt_region.c was written only for U-Boot to implement the verified boot. So, this belongs to the same group as common/fdt_support.c, which is a collection of U-Boot own fdt helpers.
Move lib/libfdt/fdt_region.c to common/fdt_region.c . This is necessary only when CONFIG_(SPL_TPL_)_FIT_SIGNATURE is enabled.
Signed-off-by: Masahiro Yamada masahiroy@kernel.org ---
I am resending this after two years since v1.
My previous attempt sank by this comment: http://patchwork.ozlabs.org/project/uboot/patch/1521623017-29312-5-git-send-...
Two years have passed, but I still do not see this file in upstream DTC.
Changes in v2: - rebase
common/Makefile | 1 + {lib/libfdt => common}/fdt_region.c | 0 lib/libfdt/Makefile | 3 --- tools/Makefile | 12 ++++-------- 4 files changed, 5 insertions(+), 11 deletions(-) rename {lib/libfdt => common}/fdt_region.c (100%)
Applied to u-boot-dm, thanks!