summaryrefslogtreecommitdiff
path: root/src/southbridge/amd
diff options
context:
space:
mode:
authorRudolf Marek <r.marek@assembler.cz>2010-09-07 09:18:08 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2010-09-07 09:18:08 +0000
commit625a0cb433c08a2dfe2a70f7ab2ce3d84bdfce1c (patch)
treec2eb74d5f7f5863dd14517aceccea57db783b85c /src/southbridge/amd
parent3e4daf1345a6fbe55871076c71e3c212a3cf3565 (diff)
Remove unused ide0_enable and sata0_enable entries from SB7xx
and SB600. Signed-off-by: Rudolf Marek <r.marek@assembler.cz> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5781 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/amd')
-rw-r--r--src/southbridge/amd/sb600/chip.h2
-rw-r--r--src/southbridge/amd/sb600/sb600_ide.c2
-rw-r--r--src/southbridge/amd/sb700/chip.h3
3 files changed, 0 insertions, 7 deletions
diff --git a/src/southbridge/amd/sb600/chip.h b/src/southbridge/amd/sb600/chip.h
index 4dc4c16274..ce40f18bf3 100644
--- a/src/southbridge/amd/sb600/chip.h
+++ b/src/southbridge/amd/sb600/chip.h
@@ -22,8 +22,6 @@
struct southbridge_amd_sb600_config
{
- u32 ide0_enable : 1;
- u32 sata0_enable : 1;
u32 hda_viddid;
};
struct chip_operations;
diff --git a/src/southbridge/amd/sb600/sb600_ide.c b/src/southbridge/amd/sb600/sb600_ide.c
index 4bd38d5422..363cd3f28c 100644
--- a/src/southbridge/amd/sb600/sb600_ide.c
+++ b/src/southbridge/amd/sb600/sb600_ide.c
@@ -26,11 +26,9 @@
static void ide_init(struct device *dev)
{
- struct southbridge_amd_sb600_config *conf;
/* Enable ide devices so the linux ide driver will work */
u32 dword;
u8 byte;
- conf = dev->chip_info;
/* RPR10.1 disable MSI */
dword = pci_read_config32(dev, 0x70);
diff --git a/src/southbridge/amd/sb700/chip.h b/src/southbridge/amd/sb700/chip.h
index d4eac3619a..acdb2b712c 100644
--- a/src/southbridge/amd/sb700/chip.h
+++ b/src/southbridge/amd/sb700/chip.h
@@ -22,10 +22,7 @@
struct southbridge_amd_sb700_config
{
- u32 ide0_enable : 1;
- u32 sata0_enable : 1;
u32 boot_switch_sata_ide : 1;
- u32 hda_viddid;
};
struct chip_operations;
extern struct chip_operations southbridge_amd_sb700_ops;