pci1x2x: use cardbus_read_resources()/cardbus_enable_resources()
authorSven Schnelle <svens@stackframe.org>
Wed, 20 Apr 2011 08:58:30 +0000 (08:58 +0000)
committerSven Schnelle <svens@stackframe.org>
Wed, 20 Apr 2011 08:58:30 +0000 (08:58 +0000)
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

src/southbridge/ti/pci1x2x/pci1x2x.c

index 413937d25ebb372527fcb20fad1ee38c29b6a8e1..dfb183cd278b898945b40a8ce92f380f6b5e61bf 100644 (file)
@@ -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,