switch-coreboot/util/dtc
Ronald G. Minnich 79351866e4 Signed-off-by: Ronald G. Minnich <rminnich@gmail.com
Acked-by: Stefan Reinauer <stepan@coresystems.de

This patch adds artec dbe61 support, removes all mainboard.c, and
 adds
 the code to dtc so that it takes these properties from the top level
 dts:
 /{
 .
 .
 .

      mainboard-vendor = "AMD";
      mainboard-part-number = "Norwich";
 }

 statictree.h will have:
 extern const char *mainboard_vendor, *mainboard_part_number;

 and statictree.c will have:
 const char *mainboard_vendor = "AMD";
 const char *mainboard_part_number = "Norwich";

 It is an error to NOT have the vendor and part number in the top
 level dts.

 thanks

 ron

Get rid of mainboard.c in all mainboard directories.
Modify dtc so that it creates declarations (in statictree.h) and
generates the char *
for mainboard name and part # (in statictree.c).

Failure to set up a mainboard-vendor
OR mainboard-part-number property in the mainboard dts will get a
helpful and descriptive error message (tested).
This may be a first for the linuxbios config
tools.

Add Georgi's patch for the bug in flattree.c; assign *cp = 0.




git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@394 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-06-28 16:21:38 +00:00
..
Documentation filling in 2006-10-06 19:19:14 +00:00
tests filling in 2006-10-06 19:19:14 +00:00
comment-test.dts filling in 2006-10-06 19:19:14 +00:00
COPYING filling in 2006-10-06 19:19:14 +00:00
data.c Clean up nasty dtc warnings 2007-02-23 10:13:24 +00:00
dtc-lexer.l This is the dtc update by itself. 2007-06-27 19:13:18 +00:00
dtc-parser.y This is the dtc update by itself. 2007-06-27 19:13:18 +00:00
dtc.c This is the dtc update by itself. 2007-06-27 19:13:18 +00:00
dtc.h Changes to allow us to use the dtc to create C structures for the static 2007-06-19 07:03:35 +00:00
endian.h This patch reroutes endian.h and byteswap.h usage through a new header, 2007-05-05 17:27:54 +00:00
flat_dt.h filling in 2006-10-06 19:19:14 +00:00
flattree.c Signed-off-by: Ronald G. Minnich <rminnich@gmail.com 2007-06-28 16:21:38 +00:00
fstree.c Changes to allow us to use the dtc to create C structures for the static 2007-06-19 07:03:35 +00:00
ftdump.c filling in 2006-10-06 19:19:14 +00:00
libdt.c filling in 2006-10-06 19:19:14 +00:00
livetree.c Changes to allow us to use the dtc to create C structures for the static 2007-06-19 07:03:35 +00:00
Makefile The patch is really trivial and fixes silencing dd on systems 2007-05-06 18:52:16 +00:00
newstatic.c filling in 2006-10-06 19:19:14 +00:00
test.dts filling in 2006-10-06 19:19:14 +00:00
TODO filling in 2006-10-06 19:19:14 +00:00
treesource.c Clean up nasty dtc warnings 2007-02-23 10:13:24 +00:00