[U-Boot] [PATCH 0/5] libfdt: make lib/libfdt/ more synced with scripts/dtc/libfdt/
Masahiro Yamada
yamada.masahiro at socionext.com
Wed Mar 21 09:03:32 UTC 2018
My goal is to make lib/libfdt/ only contain
wrapper files to scripts/dtc/libfdt/.
This will ease to pull-in improvement from the upstream.
Linux also does this; scripts/dtc/ is the mirror to the
upstream DTC.
U-Boot has lib/libfdt/fdt_region.c, but it is not a part
of libfdt. I want to move it out of lib/libfdt/ directory.
Masahiro Yamada (5):
libfdt: move FDT_RAMDISK_OVERHEAD to image-fdt.c
fdt_region: remove unneeded fdt_internal.h inclusion
image.h: add forward declaration of struct fdt_region
fdt_region: move fdt_region.c to common/ from lib/libfdt/
libfdt: split fdt_region declarations out to <fdt_region.h>
common/Makefile | 2 +
{lib/libfdt => common}/fdt_region.c | 3 +-
common/image-fdt.c | 3 +
common/image-sig.c | 1 +
include/fdt_region.h | 303 ++++++++++++++++++++++++++++++++++++
include/image.h | 1 +
include/linux/libfdt.h | 302 -----------------------------------
lib/libfdt/Makefile | 3 -
tools/Makefile | 5 +-
tools/fdtgrep.c | 1 +
tools/image-host.c | 1 +
11 files changed, 316 insertions(+), 309 deletions(-)
rename {lib/libfdt => common}/fdt_region.c (99%)
create mode 100644 include/fdt_region.h
--
2.7.4
More information about the U-Boot
mailing list