Jon Loeliger
e45e6fd274
DTC: Add support for a C-like #include "file" mechanism.
...
Keeps track of open files in a stack, and assigns
a filenum to source positions for each lexical token.
Modified error reporting to show source file as well.
No policy on file directory basis has been decided.
Still handles stdin.
Tested on all arch/powerpc/boot/dts DTS files
Signed-off-by: Jon Loeliger <jdl@freescale.com>
18 years ago
David Gibson
712e52e438
Use names for output functions in the form dt_to_*() instead of
...
write_dt_*() for consistency with the dt_from_*() input functions.
19 years ago
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
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
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
fc14dad769
Initial commit
20 years ago