[PATCH v2 2/3] fdt_region: move fdt_region.c to common/ from lib/libfdt/

sjg at google.com sjg at google.com
Mon Apr 27 05:07:06 CEST 2020


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 at 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-email-yamada.masahiro@socionext.com/#1881196

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!


More information about the U-Boot mailing list