David Gibson
740a19a819
Alter add_property() and add_child() functiosn to add to the end of their
...
respective linked lists. This means we no longer reverse the order or
properties and subnodes when in blob or fs input modes.
2005-10-21 17:26:45 +10:00
David Gibson
cba839c728
Reduce message about too-long property names to a mere warning, it causes
...
too much trouble. Still need to fix up error handling in general.
2005-10-20 13:56:23 +10:00
David Gibson
1847d161dc
Update TODO
2005-10-19 16:29:52 +10:00
David Gibson
86dbcbd1e4
Rudimentary support for reporting the line number of syntax errors.
2005-10-19 16:00:31 +10:00
David Gibson
b4ac04952a
Oops avoid using case range gcc extension.
2005-10-17 10:27:45 +10:00
David Gibson
93c82174ea
Use C99 fixed width integer type names in libdt.
2005-10-17 10:27:27 +10:00
David Gibson
c6d036eaec
Oops, use strtoul() instead of strtol() in dtc-lexer.l, so that we
...
correctly handle cell values above 7fffffff. Bug pointed out by Kumar Gala.
2005-10-14 11:59:23 +10:00
David Gibson
b2543fc875
Add ftdump utility, contributed by Pantelis Antoniou.
2005-08-29 14:58:27 +10:00
David Gibson
6c0f36769a
Fix endian problems with handling of memreserve entries (bug pointed out
...
by Pantelis Antoniou). The rule is that the memreserve data in struct
boot_info is always stored big-endian.
2005-08-29 13:36:15 +10:00
David Gibson
230f253e9b
Remove an unused function, mark a bunch of other functions and variables
...
as static. Mostly found by sparse.
2005-08-29 12:48:02 +10:00
David Gibson
41916138dd
Forgot to realign after emitting auto-generated "name" properties. Oops.
2005-08-25 15:39:09 +10:00
David Gibson
dffc2a8972
Add a couple of missing cpu_to_be32() writing the version numbers out.
2005-08-25 14:47:20 +10:00
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