switch-coreboot/arch/x86
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
..
geodelx This started out as a trivial change and turned into a big change. This 2008-02-16 04:13:44 +00:00
archelfboot.c Move include/console/console.h to include/console.h in order to 2007-05-05 20:18:28 +00:00
archtables.c This set of changes creates irq tables for alix1c and adds the functions 2008-02-09 16:32:59 +00:00
coreboot_table.c rename linuxbios_table.c 2008-01-28 17:50:56 +00:00
i8259.c Now version 3: LinuxBIOS -> coreboot rename. 2008-01-27 18:54:57 +00:00
isa-dma.c Ron's arch code., slightly changed. Another one will follow 2007-06-27 21:01:01 +00:00
Kconfig CAR size and CAR base defines are scattered all over the place. Set them 2008-02-11 01:30:24 +00:00
keyboard.c The current parameter situation of post_code() is rather mixed between 2008-01-07 16:34:34 +00:00
ldscript.ld Cache the ROM to speed up stage2 and payload decompression. 2008-02-06 02:36:50 +00:00
macros.h Now version 3: LinuxBIOS -> coreboot rename. 2008-01-27 18:54:57 +00:00
Makefile Correct Makefile dependencies. This worked by accident before. 2008-02-13 16:43:32 +00:00
mc146818rtc.c Remove superfluous checks for boolean CONFIG_* variables where we tested 2008-02-14 22:34:40 +00:00
mtrr.h Use the same naming convention and placement for "include guards" in 2007-05-21 06:48:47 +00:00
pci_ops_auto.c The current parameter situation of post_code() is rather mixed between 2008-01-07 16:34:34 +00:00
pci_ops_conf1.c Constify structs which can be const. 2007-11-26 13:28:52 +00:00
pci_ops_conf2.c Constify structs which can be const. 2007-11-26 13:28:52 +00:00
pci_ops_mmconf.c Constify structs which can be const. 2007-11-26 13:28:52 +00:00
pirq_routing.c This set of changes creates irq tables for alix1c and adds the functions 2008-02-09 16:32:59 +00:00
post_code.c Now version 3: LinuxBIOS -> coreboot rename. 2008-01-27 18:54:57 +00:00
serial.c Now version 3: LinuxBIOS -> coreboot rename. 2008-01-27 18:54:57 +00:00
speaker.c Remove superfluous checks for boolean CONFIG_* variables where we tested 2008-02-14 22:34:40 +00:00
stage0_i586.S Make printk() log to a buffer. 2008-02-13 15:48:37 +00:00
stage1.c Make printk() log to a buffer. 2008-02-13 15:48:37 +00:00
udelay_io.c Now version 3: LinuxBIOS -> coreboot rename. 2008-01-27 18:54:57 +00:00