UPSTREAM: libfdt: migrate fdt_rw.c to a wrapper of scripts/dtc/libfdt/fdt_rw.cThe only difference between scripts/dtc/libfdt/fdt_rw.c andlib/libfdt/fdt_rw.c is fdt_remove_unused_strings().It is
UPSTREAM: libfdt: migrate fdt_rw.c to a wrapper of scripts/dtc/libfdt/fdt_rw.cThe only difference between scripts/dtc/libfdt/fdt_rw.c andlib/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-Bootimage. Move it to tools/libfdt/fdw_rw.c so that lib/libfdt/fdt_rw.ccan be a wrapper of scripts/dtc/libfdt/fdt_rw.c.Change-Id: I6e2578d4bfdf75438d3aa1cb51f270f34527d37dSigned-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>Reviewed-by: Simon Glass <sjg@chromium.org>Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
show more ...
UPSTREAM: libfdt: migrate fdt_wip.c to a wrapper of scripts/dtc/libfdt/fdt_wip.cNow, lib/libfdt/fdt_wip.c is the same as scripts/dtc/libfdt/fdt_wip.cChange the former to a wrapper of the latter.
UPSTREAM: libfdt: migrate fdt_wip.c to a wrapper of scripts/dtc/libfdt/fdt_wip.cNow, lib/libfdt/fdt_wip.c is the same as scripts/dtc/libfdt/fdt_wip.cChange the former to a wrapper of the latter.Change-Id: Ifce4c63db38146297c14218ef94d226bf6e3bb27Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>Reviewed-by: Simon Glass <sjg@chromium.org>Signed-off-by: Kever Yang <kever.yang@rock-chips.com>(cherry picked from commit 26e961c8cfdff00c5c9389d301d9a2eb10eb844c)
UPSTREAM: tools: use files from scripts/dtc/libfdt where possiblePrior to this commit, tools/Makefile pulls all libfdt files fromlib/libfdt.lib/libfdt/ and scripts/dtc/libfdt have the same copie
UPSTREAM: tools: use files from scripts/dtc/libfdt where possiblePrior to this commit, tools/Makefile pulls all libfdt files fromlib/libfdt.lib/libfdt/ and scripts/dtc/libfdt have the same copies for thefollowings 6 files: fdt.c fdt_addresses.c fdt_empty_tree.c fdt_overlay.c fdt_strerr.c fdt_sw.cThis commit changes them to #include ones from scripts/dtc/libfdt.Unfortunately, U-Boot locally modified the following 3 files: fdt_ro.c fdt_wip.c fdt_rw.cI did not touch them in order to avoid unpredictable impact.The fdt_region.c is U-Boot own file. This is also borrowed fromlib/libfdt/.Change-Id: I3e8fcd9f84cda502a0eca504896ab29d7f840d16Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>Signed-off-by: Kever Yang <kever.yang@rock-chips.com>(cherry picked from commit b38ad663a4b4ccd91a43b12e2d65179dbd2b40cb)