From ebb43d69439d847e87e18ac332e71b9b0476936a Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Thu, 8 Oct 2009 20:17:14 +0000 Subject: Fix CS5535 build for kconfig, more kconfig boards (lippert, artec) Signed-off-by: Patrick Georgi Acked-by: Peter Stuge git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4748 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/southbridge/amd/cs5535/chip.h | 8 ++++---- src/southbridge/amd/cs5535/cs5535.c | 8 ++++++++ 2 files changed, 12 insertions(+), 4 deletions(-) (limited to 'src/southbridge/amd/cs5535') 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, +}; -- cgit v1.2.3