Mirror of DTC
Find a file
David Gibson 46c88dfcca Add support for flat device tree format version 17
libfdt defined a new version of the flattened device tree format,
version 17.  It is backwards compatible with version 16, just adding
an extra header field giving the size of the blob's structure blob.

This patch adds support to dtc allowing it to read and write version
17 blobs.  It also makes version 17 the default output version for
blobs.

At the same time we change the code to consistently using decimal
numbers for versions.  Previously we sometimes used 16 and sometimes
0x10 to refer to version 16.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2007-03-14 15:36:37 -05:00
Documentation Add paper on the flattened tree and dtc presented at linux.conf.au 2006 by 2006-01-31 16:17:59 +11:00
tests Add some initial test cases. 2007-02-15 11:02:44 -06:00
.gitignore Add a .gitignore file. 2005-10-21 17:28:42 +10:00
comment-test.dts Initial label support. Also switch to glr-parser mode and get rid of 2005-06-16 14:36:37 +10:00
COPYING Initial commit 2005-06-08 17:18:34 +10:00
data.c Moved data_convert_cell() out of data.c to the parser. 2007-02-16 09:33:54 -06:00
dtc-lexer.l Add support for decimal, octal and binary based cell values. 2007-02-15 10:59:27 -06:00
dtc-parser.y Moved data_convert_cell() out of data.c to the parser. 2007-02-16 09:33:54 -06:00
dtc.c Add support for flat device tree format version 17 2007-03-14 15:36:37 -05:00
dtc.h Moved data_convert_cell() out of data.c to the parser. 2007-02-16 09:33:54 -06:00
flat_dt.h Add support for flat device tree format version 17 2007-03-14 15:36:37 -05:00
flattree.c Add support for flat device tree format version 17 2007-03-14 15:36:37 -05:00
fstree.c Rework tracking of reserve entries during processing. This is initial work 2005-10-24 18:18:38 +10:00
ftdump.c Add support for flat device tree format version 17 2007-03-14 15:36:37 -05:00
libdt.c Add copyright. Fix 80-column line. 2006-06-24 15:52:48 -05:00
livetree.c remove check for interrupt-controller property under /chosen 2007-02-20 11:55:20 -06:00
Makefile Add ftdump utility, contributed by Pantelis Antoniou. 2005-08-29 14:58:27 +10:00
TODO Update TODO 2005-10-19 16:29:52 +10:00
treesource.c Use names for output functions in the form dt_to_*() instead of 2005-10-26 16:56:26 +10:00