David Gibson
f040d95b84
Rework tracking of reserve entries during processing. This is initial work
...
to allow more powerful handling of reserve entries.
19 years ago
David Gibson
fccb194a14
Add a second cpu and a timebase frequency to test.dts.
19 years ago
David Gibson
8f1bc85611
Add a .gitignore file.
19 years ago
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.
19 years ago
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.
19 years ago
David Gibson
1847d161dc
Update TODO
19 years ago
David Gibson
86dbcbd1e4
Rudimentary support for reporting the line number of syntax errors.
19 years ago
David Gibson
b4ac04952a
Oops avoid using case range gcc extension.
19 years ago
David Gibson
93c82174ea
Use C99 fixed width integer type names in libdt.
19 years ago
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.
19 years ago
David Gibson
b2543fc875
Add ftdump utility, contributed by Pantelis Antoniou.
20 years ago
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.
20 years ago
David Gibson
230f253e9b
Remove an unused function, mark a bunch of other functions and variables
...
as static. Mostly found by sparse.
20 years ago
David Gibson
41916138dd
Forgot to realign after emitting auto-generated "name" properties. Oops.
20 years ago
David Gibson
dffc2a8972
Add a couple of missing cpu_to_be32() writing the version numbers out.
20 years ago
David Gibson
4ddf7c020c
In flat tree reading, check for (negative) string offsets which underrun
...
the input blob. (Patch from Michael Ellerman).
20 years ago
David Gibson
7f6d12b3a1
Remove unused enum from dtc.h.
20 years ago
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.
20 years ago
David Gibson
586606e35d
Oops, fix stupid bug where we emitted padding before, rather than after
...
the blob header.
20 years ago
David Gibson
47f23dee09
Ensure that the reserve map is doubleword aligned in blob and asm output.
20 years ago
David Gibson
a6c69572a3
Remove inaccurate comment.
20 years ago
David Gibson
03a9b9dcdc
Use u8 instead of uint8_t, as we do with the other size types.
20 years ago
David Gibson
7ee3ffd43f
Fix bug in error message.
20 years ago
David Gibson
1cb934b3aa
Add automatic dependency generation.
20 years ago
David Gibson
5a446b0cd8
Add flex option to stop warning about unused yyunput().
20 years ago
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.
20 years ago
David Gibson
363f1ea846
Add missing file.
20 years ago
David Gibson
ab870cadb4
First cut at a "libdt" set of routines for extracting things from the
...
flattened tree. Could be used in firmware.
20 years ago
David Gibson
9ad4587c90
Remove build_empty_property(). It wasn't useful.
20 years ago
David Gibson
81f2e89c75
Rudimentary phandle reference support.
20 years ago
David Gibson
4102d840d9
Initial label support. Also switch to glr-parser mode and get rid of
...
hacks that were necessary without it.
20 years ago
David Gibson
fc14dad769
Initial commit
20 years ago