aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/amd/cs5535
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@coresystems.de>2009-10-08 20:17:14 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2009-10-08 20:17:14 +0000
commitebb43d69439d847e87e18ac332e71b9b0476936a (patch)
treee267ec0e6831b74e0b70d6a18a612de93229bd28 /src/southbridge/amd/cs5535
parente3fcd45a7fa450cc5befdcc8bcfa7d8541f4e81e (diff)
Fix CS5535 build for kconfig, more kconfig boards (lippert, artec)
Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4748 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/amd/cs5535')
-rw-r--r--src/southbridge/amd/cs5535/chip.h8
-rw-r--r--src/southbridge/amd/cs5535/cs5535.c8
2 files changed, 12 insertions, 4 deletions
diff --git a/src/southbridge/amd/cs5535/chip.h b/src/southbridge/amd/cs5535/chip.h
index 3e9be9938e..1a02d59e8e 100644
--- a/src/southbridge/amd/cs5535/chip.h
+++ b/src/southbridge/amd/cs5535/chip.h
@@ -1,9 +1,9 @@
-#ifndef _SOUTHBRIDGE_AMD_CS5536
-#define _SOUTHBRIDGE_AMD_CS5536
+#ifndef _SOUTHBRIDGE_AMD_CS5535
+#define _SOUTHBRIDGE_AMD_CS5535
-extern struct chip_operations southbridge_amd_cs5536_ops;
+extern struct chip_operations southbridge_amd_cs5535_ops;
-struct southbridge_amd_cs5536_config {
+struct southbridge_amd_cs5535_config {
int none;
};
diff --git a/src/southbridge/amd/cs5535/cs5535.c b/src/southbridge/amd/cs5535/cs5535.c
index 6f351ec48a..17bd902e0b 100644
--- a/src/southbridge/amd/cs5535/cs5535.c
+++ b/src/southbridge/amd/cs5535/cs5535.c
@@ -108,3 +108,11 @@ static const struct pci_driver cs5535_pci_driver __pci_driver = {
.vendor = PCI_VENDOR_ID_NS,
.device = PCI_DEVICE_ID_NS_CS5535
};
+
+struct chip_operations southbridge_amd_cs5535_ops = {
+ CHIP_NAME("AMD Geode CS5535 Southbridge")
+ /* This is only called when this device is listed in the
+ * static device tree.
+ */
+ .enable_dev = southbridge_enable,
+};