Set PCI bus operations at buildtime for ramstage
PCI bus operations are static through the ramstage, and should be initialized from the very beginning. For all the replaced instances, there is no MMCONF_SUPPORT nor MMCONF_SUPPORT_DEFAULT selected for the northbridge, so these continue to use PCI IO config access. Change-Id: I658abd4a02aa70ad4c9273568eb5560c6e572fb1 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/3607 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
committed by
Stefan Reinauer
parent
52914323bf
commit
33e5df3f25
@@ -22,8 +22,4 @@ static inline const struct pci_bus_operations *pci_config_default(void)
|
||||
#endif
|
||||
}
|
||||
|
||||
static inline void pci_set_method(device_t dev)
|
||||
{
|
||||
dev->ops->ops_pci_bus = pci_config_default();
|
||||
}
|
||||
#endif /* ARCH_I386_PCI_OPS_H */
|
||||
|
Reference in New Issue
Block a user