From 625a0cb433c08a2dfe2a70f7ab2ce3d84bdfce1c Mon Sep 17 00:00:00 2001 From: Rudolf Marek Date: Tue, 7 Sep 2010 09:18:08 +0000 Subject: Remove unused ide0_enable and sata0_enable entries from SB7xx and SB600. Signed-off-by: Rudolf Marek Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5781 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/southbridge/amd/sb600/chip.h | 2 -- src/southbridge/amd/sb600/sb600_ide.c | 2 -- src/southbridge/amd/sb700/chip.h | 3 --- 3 files changed, 7 deletions(-) (limited to 'src/southbridge') 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; -- cgit v1.2.3