summaryrefslogtreecommitdiff
path: root/livetree.c
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2007-10-25 15:05:58 +1000
committerJon Loeliger <jdl@freescale.com>2007-10-25 09:50:07 -0500
commit3bef796b449320cefb8e52838ca90163df698722 (patch)
treed9aa447c5e851224345dfd8a66c45d27db8fb5db /livetree.c
parent9b91134ba3043deb7689bcee06b78a596647c626 (diff)
downloaddevice-tree-compiler-3bef796b449320cefb8e52838ca90163df698722.tar.gz
libfdt: Test on trees with different block layouts
At present, all the example dtbs we use in the testsuite are version 17 and have reservation map, then structure block then strings block (the natural ordering based on alignment constraints). However, all libfdt's read-only and in-place write functions should also work on v16 trees, and on trees with other layouts. This patch adds a testcase / utility function to rearrange the blocks of a dtb and/or regress a v17 tree to v16, and uses it to run tests on trees with different layouts and versions. Signed-off-by: David Gibson <david@tgibson.dropbear.id.au>
Diffstat (limited to 'livetree.c')
0 files changed, 0 insertions, 0 deletions