[coreboot] [commit] r6527 - trunk/src/southbridge/ti/pci1x2x

repository service svn at coreboot.org
Wed Apr 20 10:58:32 CEST 2011


Author: svens
Date: Wed Apr 20 10:58:30 2011
New Revision: 6527
URL: https://tracker.coreboot.org/trac/coreboot/changeset/6527

Log:
pci1x2x: use cardbus_read_resources()/cardbus_enable_resources()

Signed-off-by: Sven Schnelle <svens at stackframe.org>
Acked-by: Stefan Reinauer <stefan.reinauer at coreboot.org>

Modified:
   trunk/src/southbridge/ti/pci1x2x/pci1x2x.c

Modified: trunk/src/southbridge/ti/pci1x2x/pci1x2x.c
==============================================================================
--- trunk/src/southbridge/ti/pci1x2x/pci1x2x.c	Wed Apr 20 10:58:16 2011	(r6526)
+++ trunk/src/southbridge/ti/pci1x2x/pci1x2x.c	Wed Apr 20 10:58:30 2011	(r6527)
@@ -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 @@
 };
 
 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,




More information about the coreboot mailing list