mirror of
https://github.com/dgibson/dtc.git
synced 2025-12-08 12:45:29 -05:00
dtc: Switch dtc to C-style literals
dtc: Switch dtc to C-style literals This patch introduces a new version of dts file, distinguished from older files by starting with the special token /dts-v1/. dts files in the new version take C-style literals instead of the old bare hex or OF-style base notation. In addition, the "range" for of memreserve entries (/memreserve/ f0000-fffff) is no longer recognized in the new format. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Jon Loeliger <jdl@freescale.com>
This commit is contained in:
parent
9ed27a2aac
commit
9138db565a
5 changed files with 107 additions and 16 deletions
|
|
@ -123,6 +123,10 @@ dtc_tests () {
|
|||
tree1_tests_rw dtc_tree1.test.dtb
|
||||
run_test dtbs_equal_ordered dtc_tree1.test.dtb test_tree1.dtb
|
||||
|
||||
run_test dtc.sh -I dts -O dtb -o dtc_tree1_dts0.test.dtb test_tree1_dts0.dts
|
||||
tree1_tests dtc_tree1_dts0.test.dtb
|
||||
tree1_tests_rw dtc_tree1_dts0.test.dtb
|
||||
|
||||
run_test dtc.sh -I dts -O dtb -o dtc_escapes.test.dtb escapes.dts
|
||||
run_test string_escapes dtc_escapes.test.dtb
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue