]> git.dujemihanovic.xyz Git - u-boot.git/commit
libfdt: migrate fdt_rw.c to a wrapper of scripts/dtc/libfdt/fdt_rw.c
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 21 Jan 2018 10:19:13 +0000 (19:19 +0900)
committerTom Rini <trini@konsulko.com>
Sun, 28 Jan 2018 17:27:30 +0000 (12:27 -0500)
commitae9ace7089d2167cbf8a69a29705049ae11c8eea
tree0b7e60a539711c42a9d46ae9ae02b70c2af714ef
parent94b13bbae90bfb94204b8fe9c531bc163e746a9f
libfdt: migrate fdt_rw.c to a wrapper of scripts/dtc/libfdt/fdt_rw.c

The only difference between scripts/dtc/libfdt/fdt_rw.c and
lib/libfdt/fdt_rw.c is fdt_remove_unused_strings().

It is only used by fdtgrep, so we do not need to compile it for U-Boot
image.  Move it to tools/libfdt/fdw_rw.c so that lib/libfdt/fdt_rw.c
can be a wrapper of scripts/dtc/libfdt/fdt_rw.c.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
lib/libfdt/Makefile
lib/libfdt/fdt_rw.c
lib/libfdt/libfdt.h
tools/Makefile
tools/fdt_host.h
tools/fdtgrep.c
tools/libfdt/fdt_rw.c [new file with mode: 0644]