switch-coreboot/util/dtc
Ronald G. Minnich f7ad196c0a This started out as a trivial change and turned into a big change. This
code boots and works on qemu and
alix1c. It represents a huge change and a huge improvement. There are a
few fixes left to do, which 
will come once this is in. 

This change started out easy: get the device IDs OUT of the the dts, and
into one place. We
decided the device IDs should be in the constructors ONLY. To make a
long story short, that just did 
not work out, and it revealed a flaw in the design. The result? 

- no more ids in the various dts files. 
- the constructor struct is gone -- one less struct, nobody liked the
  name anyway
- the device_operations struct now includes the device id.
- constructor property no longer used; use device_operations instead. 
- lpc replaced with ioport

All the changes below stem from this "simple" change. 

I am finding this new structure much easier to work with. I hope we're
done
on this for real, however!

TODO: 
1. Change limitation in dtc that makes it hard to use hex in pci@
notation. 

Now for the bad news. Sometime today, interrupts or io or something
stopped working between r596 and r602 -- but I did no commits at
that point. So something has gone wrong, but I don't think it's this
stuff.

I did try a build of HEAD, and it fails really, really badly. Much
more badly than this fails, so I think this commit is only going
to improve things. It does work fine on qemu, fails on alix1c, 
so I suspect one of today's "clean up commits" broke something. 


Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>



git-svn-id: svn://coreboot.org/repository/coreboot-v3@603 f3766cd6-281f-0410-b1cd-43a5c92072e9
2008-02-16 04:13:44 +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 This patch fixes compilation on OS X 2007-07-16 22:42:21 +00:00
dtc-lexer.l This is the dtc update by itself. 2007-06-27 19:13:18 +00:00
dtc-parser.y In the current version of dtc, if one has the line: 2008-01-29 17:48:10 +00:00
dtc.c In the current version of dtc, if one has the line: 2008-01-29 17:48:10 +00:00
dtc.h In the current version of dtc, if one has the line: 2008-01-29 17:48:10 +00:00
endian.h Now version 3: LinuxBIOS -> coreboot rename. 2008-01-27 18:54:57 +00:00
flat_dt.h filling in 2006-10-06 19:19:14 +00:00
flattree.c This started out as a trivial change and turned into a big change. This 2008-02-16 04:13:44 +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 This patch fixes compilation on OS X 2007-07-16 22:42:21 +00:00
libdt.c This patch fixes compilation on OS X 2007-07-16 22:42:21 +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 * move post_code() to a seperate file 2007-07-23 16:49:00 +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