Commit Graph

1217 Commits (master)

Author SHA1 Message Date
David Gibson 4ddf7c020c In flat tree reading, check for (negative) string offsets which underrun
the input blob. (Patch from Michael Ellerman).
2005-08-19 16:11:11 +10:00
David Gibson 7f6d12b3a1 Remove unused enum from dtc.h. 2005-07-15 17:20:34 +10:00
David Gibson f0517db250 Support for specifying memreserve ranges in the source format, based on
a patch by Jon Loeliger <jdl AT freescale.com>, although tweaked
substantially.
2005-07-15 17:14:24 +10:00
David Gibson 586606e35d Oops, fix stupid bug where we emitted padding before, rather than after
the blob header.
2005-07-14 11:27:24 +10:00
David Gibson 47f23dee09 Ensure that the reserve map is doubleword aligned in blob and asm output. 2005-07-11 17:19:26 +10:00
David Gibson a6c69572a3 Remove inaccurate comment. 2005-07-11 17:09:42 +10:00
David Gibson 03a9b9dcdc Use u8 instead of uint8_t, as we do with the other size types. 2005-07-11 16:49:52 +10:00
David Gibson 7ee3ffd43f Fix bug in error message. 2005-07-11 16:45:57 +10:00
David Gibson 1cb934b3aa Add automatic dependency generation. 2005-07-11 16:29:25 +10:00
David Gibson 5a446b0cd8 Add flex option to stop warning about unused yyunput(). 2005-07-11 13:53:13 +10:00
David Gibson c5c437e25b Oops. Using %{ %} in the rules (rather than definitions) section of a
lex file has undefined behaviour.  In fact it ends up including the stuff
within the definition of the yylex() function, leading to strange warnings
on gcc-3.4 and compile errors with gcc 4.
2005-07-04 13:53:14 +10:00
David Gibson 363f1ea846 Add missing file. 2005-07-04 13:51:09 +10:00
David Gibson ab870cadb4 First cut at a "libdt" set of routines for extracting things from the
flattened tree.  Could be used in firmware.
2005-06-23 15:45:13 +10:00
David Gibson 9ad4587c90 Remove build_empty_property(). It wasn't useful. 2005-06-17 14:32:32 +10:00
David Gibson 81f2e89c75 Rudimentary phandle reference support. 2005-06-16 17:04:00 +10:00
David Gibson 4102d840d9 Initial label support. Also switch to glr-parser mode and get rid of
hacks that were necessary without it.
2005-06-16 14:36:37 +10:00
David Gibson fc14dad769 Initial commit 2005-06-08 17:18:34 +10:00