Mirror of DTC
Find a file
David Gibson a041dcdc48 libfdt: Handle v16 and re-ordered trees for r/w
Currently all the read/write functions in libfdt require that the
given tree be v17, and further, that the tree has the memory
reservation block, structure block and strings block stored in that
physical order.

This patch eases these constraints, by making fdt_open_int() reorder
the blocks, and/or convert the tree to v17, so that it will then be
ready for the other read-write functions.

It also extends fdt_pack() to actually remove any gaps between blocks
that might be present.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2007-11-01 08:03:31 -05:00
Documentation dtc: Whitespace cleanup 2007-09-18 09:43:26 -05:00
libfdt libfdt: Handle v16 and re-ordered trees for r/w 2007-11-01 08:03:31 -05:00
scripts Add DTC release version information. 2007-07-07 13:52:25 -05:00
tests libfdt: Handle v16 and re-ordered trees for r/w 2007-11-01 08:03:31 -05:00
.gitignore Merge libfdt into dtc. 2007-06-14 15:05:55 +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
data.c dtc: data.c doesn't need to include dtc-parser.tab.h 2007-10-22 09:54:16 -05:00
dtc-lexer.l dtc: Improve support for string escapes 2007-10-16 08:10:15 -05:00
dtc-parser.y DTC: Remove the need for the GLR Parser. 2007-10-25 11:13:29 -05:00
dtc.c dtc: Disable semantic checks by default 2007-10-22 09:53:15 -05:00
dtc.h DTC: Remove the need for the GLR Parser. 2007-10-25 11:13:29 -05:00
flattree.c Quiet a bogus "May be used uninitialized" warning. 2007-10-23 10:13:00 -05:00
fstree.c dtc: Whitespace cleanup 2007-09-18 09:43:26 -05:00
ftdump.c dtc: Use libfdt/fdt.h instead of flat_dt.h 2007-09-27 08:21:18 -05:00
GPL dtc: Remove redundant copy of the GPL 2007-06-25 21:43:11 -05:00
livetree.c DTC: Remove the need for the GLR Parser. 2007-10-25 11:13:29 -05:00
Makefile DTC: Remove the need for the GLR Parser. 2007-10-25 11:13:29 -05:00
Makefile.dtc dtc: Refactor Makefiles 2007-10-15 08:28:07 -05:00
srcpos.c DTC: Add support for a C-like #include "file" mechanism. 2007-03-26 08:36:07 -05:00
srcpos.h dtc: move declaration of yyerror 2007-07-07 10:07:27 -05:00
TODO Update TODO 2005-10-19 16:29:52 +10:00
treesource.c dtc: Improve -Odts output 2007-10-17 07:14:38 -05:00