scripts/dtc: Update to upstream version 0931cea3ba20
PATCH 1/1 scripts/dtc: Update to upstream version 0931cea3ba20
Sync to upstream dtc commit 0931cea3ba20 ("dtc: fdtdump: check fdt if not in scanning mode"). In particular, this pulls in dtc overlay support.
This adds the following commits from upstream:
f88865469b65 dtc: Fix memory leak in character literal parsing00fbb8696b66 Rename boot_info1ef86ad2c24f dtc: Clean up /dts-v1/ and /plugin/ handling in grammare3c769aa9c16 dtc: Don't always generate __symbols__ for pluginsc96cb3c0169e tests: Don't use -@ on plugin de/recompile tests66381538ce24 tests: Remove "suppression of fixups" testsba765b273f0f tests: Clarify dtc overlay tests6ea8cd944fcd tests: More thorough tests of libfdt overlay application without dtc 7d8ef6e1db97 tests: Correct fdt handling of overlays without fixups and base trees without symbols b4dc0ed8b127 tests: Fix double expansion bugs in test code3ea879dc0c8f tests: Split overlay tests into those with do/don't exercise dtc plugin generation 47b4d66a2f11 tests: Test auto-alias generation on base tree, not overlay 72e1ad811523 tests: Make overlay/plugin tests unconditionale7b3c3b5951b tests: Add overlay tests9637e3f772a9 tests: Add check_path test20f29d8d41f6 dtc: Plugin and fixup supporta2c92cac53f8 dtc: Document the dynamic plugin internals8f70ac39801d checks: Pass boot_info instead of root nodeea10f953878f libfdt: add missing errors to fdt_strerror()daa75e8fa594 libfdt: fix fdt_stringlist_search()e28eff5b787a libfdt: fix fdt_stringlist_count()ae97c7722840 tests: overlay: Rename the device tree blobs to be more explicit 96162d2bd9cb tests: overlay: Add test suffix to the compiled blobs5ce8634733b7 libfdt: Add fdt_overlay_apply to the exported symbols804a9db90ad2 fdt: strerr: Remove spurious BADOVERLAYe8c3a1a493fa tests: overlay: Move back the bad fixup tests7a72d89d3f81 libfdt: overlay: Fix symbols and fixups nodes conditioncabbaa972cdd libfdt: overlay: Report a bad overlay for mismatching local fixups deb0a5c1aeaa libfdt: Add BADPHANDLE error string7b7a6be9ba15 libfdt: Don't use 'index' as a local variable nameaea8860d831e tests: Add tests cases for the overlay code0cdd06c5135b libfdt: Add overlay application function39240cc865cf libfdt: Extend the reach of FDT_ERR_BADPHANDLE4aa3a6f5e6d9 libfdt: Add new errors for the overlay code6d1832c9e64b dtc: Remove "home page" link45fd440a9561 Fix some typing errors in libfdt.h and livetree.ca59be4939c13 Merge tag 'v1.4.2'a34bb721caca dtc: Fix assorted problems in the testcases for the -a option 874f40588d3e Implement the -a option to pad dtb alignedec02b34c05be dtc: Makefile improvements for release uploading1ed45d40a137 dtc: Bump version to 1.4.236fd7331fb11 libfdt: simplify fdt_del_mem_rsv()d877364e4a0f libfdt: Add fdt_setprop_inplace_namelen_partial3e9037aaad44 libfdt: Add fdt_getprop_namelen_w84e0e1346c68 libfdt: Add max phandle retrieval functiond29126c90acb libfdt: Add iterator over properties902d0f0953d0 libfdt: Add a subnodes iterator macroc539075ba8ba fdtput.c: Fix memory leak.f79ddb83e185 fdtget.c: Fix memory leak1074ee54b63f convert-dtsv0-lexer.l: fix memory leake24d39a024e6 fdtdump.c: make sure size_t argument to memchr is always unsigned. 44a59713cf05 Remove unused srcpos_dump() functioncb9241ae3453 DTC: Fix memory leak on flatname.1ee0ae24ea09 Simplify check field and macro names9d97527a8621 Remove property check functions2e709d158e11 Remove tree check functionsc4cb12e193e3 Alter grammar to allow multiple /dts-v1/ tagsd71d25d76012 Use xasprintf() in srcpos9dc404958e9c util: Add xasprintf portable asprintf variantbeef80b8b55f Correct a missing space in a fdt_header cast68d43cec1253 Correct line lengths in libfdt.hb0dbceafd49a Correct space-after-tab in libfdt.h
--- scripts/dtc/checks.c | 349 ++++++++-------- scripts/dtc/dtc-lexer.l | 21 +- scripts/dtc/dtc-lexer.lex.c_shipped | 650 +++++++++++++++--------------- scripts/dtc/dtc-parser.tab.c_shipped | 752 ++++++++++++++++++----------------- scripts/dtc/dtc-parser.tab.h_shipped | 54 +-- scripts/dtc/dtc-parser.y | 34 +- scripts/dtc/dtc.c | 69 +++- scripts/dtc/dtc.h | 39 +- scripts/dtc/flattree.c | 41 +- scripts/dtc/fstree.c | 5 +- scripts/dtc/libfdt/Makefile.libfdt | 2 +- scripts/dtc/libfdt/fdt_ro.c | 30 +- scripts/dtc/libfdt/fdt_rw.c | 6 +- scripts/dtc/libfdt/fdt_strerror.c | 6 + scripts/dtc/libfdt/fdt_wip.c | 29 +- scripts/dtc/libfdt/libfdt.h | 210 ++++++++-- scripts/dtc/libfdt/libfdt_env.h | 1 + scripts/dtc/livetree.c | 299 +++++++++++++- scripts/dtc/srcpos.c | 35 +- scripts/dtc/srcpos.h | 1 - scripts/dtc/treesource.c | 14 +- scripts/dtc/util.c | 30 ++ scripts/dtc/util.h | 1 + scripts/dtc/version_gen.h | 2 +- 24 files changed, 1661 insertions(+), 1019 deletions(-)
Just sending diffstat to the list. Full patch is here[1].
Rob
[1] https://git.kernel.org/cgit/linux/kernel/git/robh/linux.git/commit/?h=dt/next&id=6f05afcbb031722ec1eff77dde188ff2edf8940e
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html