[coreboot-gerrit] Patch set updated for coreboot: 5b5e07d amd/rs780: Workaround for broken MMCONF_SUPPORT_DEFAULT
Kyösti Mälkki (kyosti.malkki@gmail.com)
gerrit at coreboot.org
Sat Jun 14 08:37:52 CEST 2014
Kyösti Mälkki (kyosti.malkki at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4541
-gerrit
commit 5b5e07d86b21e849ee28fe91d7ec2b6130b4a910
Author: Kyösti Mälkki <kyosti.malkki at gmail.com>
Date: Wed Dec 18 23:47:42 2013 +0200
amd/rs780: Workaround for broken MMCONF_SUPPORT_DEFAULT
Early in ramstage, southbridge RS780 disables MMCONF temporarily.
Not for merge, find a solution for the core problem instead.
Change-Id: Idff19d20ec6c50ee6388af61d2b4738b7ed39acc
Signed-off-by: Kyösti Mälkki <kyosti.malkki at gmail.com>
---
src/device/pci_ops.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/device/pci_ops.c b/src/device/pci_ops.c
index 5b633c8..17aa47e 100644
--- a/src/device/pci_ops.c
+++ b/src/device/pci_ops.c
@@ -41,6 +41,11 @@ static const struct pci_bus_operations *pci_bus_ops(struct bus *bus, device_t de
if (bus && bus->dev && bus->dev->ops && bus->dev->ops->ops_pci_bus) {
bops = bus->dev->ops->ops_pci_bus(dev);
}
+#if CONFIG_SOUTHBRIDGE_AMD_RS780
+ /* FIXME: During early init, this southbridge disables MMCONF temporarily. */
+ if (!bops)
+ bops = &pci_cf8_conf1;
+#endif
if (!bops)
bops = pci_bus_default_ops(dev);
return bops;
More information about the coreboot-gerrit
mailing list