Mirror of DTC
Find a file
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>
2007-03-26 08:36:07 -05:00
Documentation Add paper on the flattened tree and dtc presented at linux.conf.au 2006 by 2006-01-31 16:17:59 +11:00
tests Add some initial test cases. 2007-02-15 11:02:44 -06:00
.gitignore Add a .gitignore file. 2005-10-21 17:28:42 +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
COPYING Initial commit 2005-06-08 17:18:34 +10:00
data.c Moved data_convert_cell() out of data.c to the parser. 2007-02-16 09:33:54 -06:00
dtc-lexer.l DTC: Add support for a C-like #include "file" mechanism. 2007-03-26 08:36:07 -05:00
dtc-parser.y DTC: Add support for a C-like #include "file" mechanism. 2007-03-26 08:36:07 -05:00
dtc.c DTC: Add support for a C-like #include "file" mechanism. 2007-03-26 08:36:07 -05:00
dtc.h DTC: Add support for a C-like #include "file" mechanism. 2007-03-26 08:36:07 -05:00
flat_dt.h Improve options, #define default version. 2007-03-19 08:54:40 -05:00
flattree.c Add support for flat device tree format version 17 2007-03-14 15:36:37 -05:00
fstree.c Rework tracking of reserve entries during processing. This is initial work 2005-10-24 18:18:38 +10:00
ftdump.c ftdump missing be32_to_cpu() on size cell. 2007-03-22 08:30:52 -05:00
livetree.c Remove bogus errors from check_chosen. 2007-03-26 08:34:23 -05:00
Makefile DTC: Add support for a C-like #include "file" mechanism. 2007-03-26 08:36: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: Add support for a C-like #include "file" mechanism. 2007-03-26 08:36:07 -05:00
srcposstack.h DTC: Add support for a C-like #include "file" mechanism. 2007-03-26 08:36:07 -05:00
TODO Update TODO 2005-10-19 16:29:52 +10:00
treesource.c DTC: Add support for a C-like #include "file" mechanism. 2007-03-26 08:36:07 -05:00