[coreboot] [PATCH 4/4] pci1x2x: use cardbus_read_resources()/cardbus_enable_resources()
Sven Schnelle
svens at stackframe.org
Tue Apr 19 21:47:18 CEST 2011
Signed-off-by: Sven Schnelle <svens at stackframe.org>
---
src/southbridge/ti/pci1x2x/pci1x2x.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/southbridge/ti/pci1x2x/pci1x2x.c b/src/southbridge/ti/pci1x2x/pci1x2x.c
index a3ec35c..bc4ee89 100644
--- a/src/southbridge/ti/pci1x2x/pci1x2x.c
+++ b/src/southbridge/ti/pci1x2x/pci1x2x.c
@@ -22,6 +22,7 @@
#include <device/pci.h>
#include <device/pci_ids.h>
#include <device/pci_ops.h>
+#include <device/cardbus.h>
#include <console/console.h>
#include <arch/io.h>
#include "chip.h"
@@ -63,9 +64,9 @@ static struct pci_operations ti_pci1x2y_pci_ops = {
};
struct device_operations southbridge_ti_pci1x2x_pciops = {
- .read_resources = NULL, //pci_dev_read_resources,
+ .read_resources = cardbus_read_resources,
.set_resources = pci_dev_set_resources,
- .enable_resources = pci_dev_enable_resources,
+ .enable_resources = cardbus_enable_resources,
.init = ti_pci1x2y_init,
.scan_bus = 0,
.ops_pci = &ti_pci1x2y_pci_ops,
--
1.7.4.1
More information about the coreboot
mailing list