coreboot/src/include/device
Marc Jones 2a58ecde78 Add new finalize functions for devices and chips
Many chipset devices require additional configuration after
device init. It is not uncommmon for a device early in the devicetree
list to need to change a setting after a device later in the tree does
PCI init. A final function call has been added to device ops to handle
this case. It is called prior to coreboot table setup.

Another problem that is often seen is that the chipset or mainboard
need to do some final cleanup just before loading the OS. The chip
finalize has been added for this case. It is call after all coreboot
tables are setup and the payload is ready to be called.

Similar functionality could be implemented with the hardwaremain
states, but those don't fit well in the device tree function pointer
structure and should be used sparingly.

Change-Id: Ib37cce104ae41ec225a8502942d85e54d99ea75f
Signed-off-by: Marc Jones <marc.jones@se-eng.com>
Reviewed-on: http://review.coreboot.org/4012
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
2013-11-08 19:55:17 +01:00
..
dram include: Fix spelling 2013-07-11 22:36:19 +02:00
agp.h Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
azalia.h ASRock IMB-A180: Add CODEC initialization table 2013-08-27 19:59:03 +02:00
azalia_device.h Add a generic Intel HD audio (Azalia) module azalia_device.c 2013-08-13 10:12:52 +02:00
cardbus.h Remove the rest of cardbus_scan_bus. 2010-06-07 17:12:57 +00:00
device.h Add new finalize functions for devices and chips 2013-11-08 19:55:17 +01:00
drm_dp_helper.h FUI: reorganize include files 2013-07-10 02:39:42 +02:00
early_smbus.h (Trivial) early_smbus: fix printsmbus macro 2013-06-06 08:52:57 +02:00
hypertransport.h Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
hypertransport_def.h Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
i2c.h i2c: Change the type of the data parameter to uint8_t. 2013-07-10 23:19:49 +02:00
i915.h FUI: reorganize include files 2013-07-10 02:39:42 +02:00
i915_reg.h FUI: reorganize include files 2013-07-10 02:39:42 +02:00
path.h sconfig: rename lapic_cluster -> cpu_cluster 2013-02-14 07:07:20 +01:00
pci.h Add test to match struct device with pci_devfn_t 2013-08-24 07:38:23 +02:00
pci_def.h Add test to match struct device with pci_devfn_t 2013-08-24 07:38:23 +02:00
pci_ids.h AMD Kabini: Add northbridge AGESA wrapper (new AMD processor) 2013-08-05 18:23:34 +02:00
pci_ops.h Add directive __SIMPLE_DEVICE__ 2013-08-01 15:57:11 +02:00
pci_rom.h Add OPROM mapping support to coreboot 2012-02-07 00:09:58 +01:00
pciexp.h Add support for enabling PCIe Common Clock and ASPM 2012-03-29 22:16:07 +02:00
pcix.h Cosmetics and coding style fixes in devices/*. 2010-10-18 00:00:57 +00:00
pnp.h Add directive __SIMPLE_DEVICE__ 2013-08-01 15:57:11 +02:00
pnp_def.h This is a general cleanup patch 2010-02-22 06:09:43 +00:00
resource.h resources: introduce IORESOURCE_WRCOMB 2013-03-29 19:54:08 +01:00
smbus.h Cosmetics and coding style fixes in devices/*. 2010-10-18 00:00:57 +00:00
smbus_def.h - Update the device header files 2004-10-14 21:10:23 +00:00