coreboot/device
Ronald G. Minnich 86a45fd25a Make it so that read_resources only reads resources.
dev_phase4 will call compute_allocate. This is an early pass at 
making the device tree code a little more readable. We have done a 
pass on the stage2 code and are comfortable with phases 1-3 and 5-6; 
phase 4 is the phase that is really tough to follow. We are working
on cleaning that up today. 

This change tested and working on dbe62. 

We are well aware that as more complex targets appear this code
may break on them. At the same time, we are determined to untangle the 
thicket of code in phase 4, since this code has been a source of 
confusion for several years now. 

There used to be a recursion: compute_allocate_resource would ALWAYS
call read_resources, which would in turn call compute_allocate_resource. 

We are attempting to resolve this in a clearer manner. 

boots to linux on dbe62
boots to etherboot on qemu

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Peter Stuge <peter@stuge.se>


git-svn-id: svn://coreboot.org/repository/coreboot-v3@963 f3766cd6-281f-0410-b1cd-43a5c92072e9
2008-10-29 18:29:19 +00:00
..
agp_device.c The named unions in the device tree code are obnoxious and degrade 2008-08-10 00:20:24 +00:00
cardbus_device.c Now version 3: LinuxBIOS -> coreboot rename. 2008-01-27 18:54:57 +00:00
device.c Make it so that read_resources only reads resources. 2008-10-29 18:29:19 +00:00
device_util.c General cleanup and comments for things that should be fixed in future. 2008-10-29 04:25:32 +00:00
hypertransport.c Fix a bunch of Doxygen warnings in v3 (trivial). 2008-10-23 18:55:01 +00:00
Kconfig Minor fixes and improvements for v3, mostly for Kconfig files (trivial). 2008-10-01 18:29:22 +00:00
Makefile This fixes the 8132 so that it can be included in the build for serengeti. 2008-10-28 02:06:15 +00:00
pci_device.c Marc reviewed the v3 device tree code and we developed the set of 2008-10-27 20:05:38 +00:00
pci_ops.c The K8 is one example, but there are other devices (e.g. I2C) that also have 2008-09-17 16:36:20 +00:00
pci_rom.c Marc reviewed the v3 device tree code and we developed the set of 2008-10-27 20:05:38 +00:00
pcie_device.c The named unions in the device tree code are obnoxious and degrade 2008-08-10 00:20:24 +00:00
pcix_device.c This fixes the 8132 so that it can be included in the build for serengeti. 2008-10-28 02:06:15 +00:00
pnp_device.c The named unions in the device tree code are obnoxious and degrade 2008-08-10 00:20:24 +00:00
pnp_raw.c Fix a bunch of Doxygen warnings in v3 (trivial). 2008-10-23 18:55:01 +00:00
root_device.c Make it so that read_resources only reads resources. 2008-10-29 18:29:19 +00:00
smbus_ops.c A lot of the v3 header files require other header files to be #included 2008-02-19 00:34:32 +00:00