scripts/dtc: Update to upstream version v1.4.6-9-gaadd0b65c987This adds the following commits from upstream:aadd0b65c987 checks: centralize printing of property names in failure messages88960e39
scripts/dtc: Update to upstream version v1.4.6-9-gaadd0b65c987This adds the following commits from upstream:aadd0b65c987 checks: centralize printing of property names in failure messages88960e398907 checks: centralize printing of node path in check_msgf1879e1a50eb Add limited read-only support for older (V2 and V3) device tree to libfdt.37dea76e9700 srcpos: drop special handling of tab65893da4aee0 libfdt: overlay: Add missing license962a45ca034d Avoid installing pylibfdt when dependencies are missingcd6ea1b2bea6 Makefile: Split INSTALL out into INSTALL_{PROGRAM,LIB,DATA,SCRIPT}51b3a16338df Makefile.tests: Add LIBDL make(1) variable for portability sake333d533a8f4d Attempt to auto-detect stat(1) being used if not given proper invocatione54388015af1 dtc: Bump version to v1.4.6a1fe86f380cb fdtoverlay: Switch from using alloca to mallocc8d5472de3ff tests: Improve compatibility with other platformsc81d389a10cc checks: add chosen node checkse671852042a7 checks: add aliases node checksd0c44ebe3f42 checks: check for #{size,address}-cells without child nodes18a3d84bb802 checks: add string list check for *-names properties8fe94fd6f19f checks: add string list check6c5730819604 checks: add a string check for 'label' propertya384191eba09 checks: fix sound-dai phandle with arg property checkb260c4f610c0 Fix ambiguous grammar for devicetree rulefe667e382bac tests: Add some basic tests for the pci_bridge checks7975f6422260 Fix widespread incorrect use of strneq(), replace with new strprefixeq()fca296445eab Add strstarts() helper functioncc392f089007 tests: Check non-matching cases for fdt_node_check_compatible()bba26a5291c8 livetree: avoid assertion of orphan phandles with overlaysc8f8194d76cc implement strnlen for systems that need itc8b38f65fdec libfdt: Remove leading underscores from identifiers3b62fdaebfe5 Remove leading underscores from identifiers2d45d1c5c65e Replace FDT_VERSION() with stringify()2e6fe5a107b5 Fix some errors in commentsb0ae9e4b0ceb tests: Correct warning in sw_tree1.cCommit c8b38f65fdec upstream ("libfdt: Remove leading underscores fromidentifiers") changed the multiple inclusion define protection, so thekernel's libfdt_env.h needs the corresponding update.Signed-off-by: Rob Herring <robh@kernel.org>[ Linux commit: 9130ba884640328bb78aaa4840e5ddf06ccafb1c ][erosca: - Fixup conflicts in include/linux/libfdt_env.h caused by v2018.03-rc4 commit b08c8c487083 ("libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h>") - Fix build errors in lib/libfdt/fdt_ro.c, tools/libfdt/fdt_rw.c by: - s/_fdt_mem_rsv/fdt_mem_rsv_/ - s/_fdt_offset_ptr/fdt_offset_ptr_/ - s/_fdt_check_node_offset/fdt_check_node_offset_/ - s/_fdt_check_prop_offset/fdt_check_prop_offset_/ - s/_fdt_find_add_string/fdt_find_add_string_/]Signed-off-by: Eugeniu Rosca <erosca@de.adit-jv.com>Reviewed-by: Simon Glass <sjg@chromium.org>Reviewed-by: Masahiro Yamada <yamada.masahiro@socionext.com>
show more ...
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
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.Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>Reviewed-by: Simon Glass <sjg@chromium.org>
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.Signed-of
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.Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>Reviewed-by: Simon Glass <sjg@chromium.org>
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 the
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/.Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>