summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSven Schnelle <svens@stackframe.org>2011-04-20 08:58:30 +0000
committerSven Schnelle <svens@stackframe.org>2011-04-20 08:58:30 +0000
commit5c72a8752bb5ce1c3b1bfb77c08039c71c2113ef (patch)
tree68efd202ce491531a2edd47289bf57bb6e38dc2a /src
parent5f22f303772ec55dbeeb817592678d0ee7777b62 (diff)
downloadcoreboot-5c72a8752bb5ce1c3b1bfb77c08039c71c2113ef.tar.xz
pci1x2x: use cardbus_read_resources()/cardbus_enable_resources()
Signed-off-by: Sven Schnelle <svens@stackframe.org> Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6527 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src')
-rw-r--r--src/southbridge/ti/pci1x2x/pci1x2x.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/southbridge/ti/pci1x2x/pci1x2x.c b/src/southbridge/ti/pci1x2x/pci1x2x.c
index 413937d25e..dfb183cd27 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"
@@ -65,9 +66,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,