Author: oxygene Date: Tue Sep 7 11:18:08 2010 New Revision: 5781 URL: https://tracker.coreboot.org/trac/coreboot/changeset/5781
Log: 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
Modified: trunk/src/mainboard/amd/dbm690t/devicetree.cb trunk/src/mainboard/amd/mahogany/devicetree.cb trunk/src/mainboard/amd/mahogany_fam10/devicetree.cb trunk/src/mainboard/amd/pistachio/devicetree.cb trunk/src/mainboard/amd/tilapia_fam10/devicetree.cb trunk/src/mainboard/asrock/939a785gmh/devicetree.cb trunk/src/mainboard/gigabyte/ma785gmt/devicetree.cb trunk/src/mainboard/gigabyte/ma78gm/devicetree.cb trunk/src/mainboard/jetway/pa78vm5/devicetree.cb trunk/src/mainboard/kontron/kt690/devicetree.cb trunk/src/mainboard/technexion/tim5690/devicetree.cb trunk/src/mainboard/technexion/tim8690/devicetree.cb trunk/src/southbridge/amd/sb600/chip.h trunk/src/southbridge/amd/sb600/sb600_ide.c trunk/src/southbridge/amd/sb700/chip.h
Modified: trunk/src/mainboard/amd/dbm690t/devicetree.cb ============================================================================== --- trunk/src/mainboard/amd/dbm690t/devicetree.cb Tue Sep 7 09:53:26 2010 (r5780) +++ trunk/src/mainboard/amd/dbm690t/devicetree.cb Tue Sep 7 11:18:08 2010 (r5781) @@ -106,8 +106,6 @@ device pci 14.4 on end # PCI 0x4384 device pci 14.5 on end # ACI 0x4382 device pci 14.6 on end # MCI 0x438e - register "ide0_enable" = "1" - register "sata0_enable" = "1" register "hda_viddid" = "0x10ec0882" end #southbridge/amd/sb600 end # device pci 18.0
Modified: trunk/src/mainboard/amd/mahogany/devicetree.cb ============================================================================== --- trunk/src/mainboard/amd/mahogany/devicetree.cb Tue Sep 7 09:53:26 2010 (r5780) +++ trunk/src/mainboard/amd/mahogany/devicetree.cb Tue Sep 7 11:18:08 2010 (r5781) @@ -106,10 +106,7 @@ end #LPC device pci 14.4 on end # PCI 0x4384 device pci 14.5 on end # USB 2 - register "ide0_enable" = "1" - register "sata0_enable" = "1" register "boot_switch_sata_ide" = "0" # 0: boot from SATA. 1: IDE - register "hda_viddid" = "0x10ec0882" end #southbridge/amd/sb700 end # device pci 18.0
Modified: trunk/src/mainboard/amd/mahogany_fam10/devicetree.cb ============================================================================== --- trunk/src/mainboard/amd/mahogany_fam10/devicetree.cb Tue Sep 7 09:53:26 2010 (r5780) +++ trunk/src/mainboard/amd/mahogany_fam10/devicetree.cb Tue Sep 7 11:18:08 2010 (r5781) @@ -97,10 +97,7 @@ end #LPC device pci 14.4 on end # PCI 0x4384 device pci 14.5 on end # USB 2 - register "ide0_enable" = "1" - register "sata0_enable" = "1" register "boot_switch_sata_ide" = "0" # 0: boot from SATA. 1: IDE - register "hda_viddid" = "0x10ec0882" end #southbridge/amd/sb700 end # device pci 18.0
Modified: trunk/src/mainboard/amd/pistachio/devicetree.cb ============================================================================== --- trunk/src/mainboard/amd/pistachio/devicetree.cb Tue Sep 7 09:53:26 2010 (r5780) +++ trunk/src/mainboard/amd/pistachio/devicetree.cb Tue Sep 7 11:18:08 2010 (r5781) @@ -68,9 +68,6 @@ device pci 14.4 on end # PCI 0x4384 device pci 14.5 on end # ACI 0x4382 device pci 14.6 on end # MCI 0x438e - register "ide0_enable" = "1" - register "sata0_enable" = "1" - register "hda_viddid" = "0x10ec0882" end #southbridge/amd/sb600 end # device pci 18.0
Modified: trunk/src/mainboard/amd/tilapia_fam10/devicetree.cb ============================================================================== --- trunk/src/mainboard/amd/tilapia_fam10/devicetree.cb Tue Sep 7 09:53:26 2010 (r5780) +++ trunk/src/mainboard/amd/tilapia_fam10/devicetree.cb Tue Sep 7 11:18:08 2010 (r5781) @@ -98,10 +98,7 @@ end #LPC device pci 14.4 on end # PCI 0x4384 device pci 14.5 on end # USB 2 - register "ide0_enable" = "1" - register "sata0_enable" = "1" register "boot_switch_sata_ide" = "0" # 0: boot from SATA. 1: IDE - register "hda_viddid" = "0x10ec0882" end #southbridge/amd/sb700 end # device pci 18.0
Modified: trunk/src/mainboard/asrock/939a785gmh/devicetree.cb ============================================================================== --- trunk/src/mainboard/asrock/939a785gmh/devicetree.cb Tue Sep 7 09:53:26 2010 (r5780) +++ trunk/src/mainboard/asrock/939a785gmh/devicetree.cb Tue Sep 7 11:18:08 2010 (r5781) @@ -116,10 +116,7 @@ end #LPC device pci 14.4 on end # PCI 0x4384 device pci 14.5 on end # USB 2 - register "ide0_enable" = "1" - register "sata0_enable" = "1" register "boot_switch_sata_ide" = "0" # 0: boot from SATA. 1: IDE - register "hda_viddid" = "0x10ec0882" end #southbridge/amd/sb700 end # device pci 18.0
Modified: trunk/src/mainboard/gigabyte/ma785gmt/devicetree.cb ============================================================================== --- trunk/src/mainboard/gigabyte/ma785gmt/devicetree.cb Tue Sep 7 09:53:26 2010 (r5780) +++ trunk/src/mainboard/gigabyte/ma785gmt/devicetree.cb Tue Sep 7 11:18:08 2010 (r5781) @@ -98,10 +98,7 @@ end #LPC device pci 14.4 on end # PCI 0x4384 device pci 14.5 on end # USB 2 - register "ide0_enable" = "1" - register "sata0_enable" = "1" register "boot_switch_sata_ide" = "0" # 0: boot from SATA. 1: IDE - register "hda_viddid" = "0x10ec0882" end #southbridge/amd/sb700 end # device pci 18.0
Modified: trunk/src/mainboard/gigabyte/ma78gm/devicetree.cb ============================================================================== --- trunk/src/mainboard/gigabyte/ma78gm/devicetree.cb Tue Sep 7 09:53:26 2010 (r5780) +++ trunk/src/mainboard/gigabyte/ma78gm/devicetree.cb Tue Sep 7 11:18:08 2010 (r5781) @@ -97,10 +97,7 @@ end #LPC device pci 14.4 on end # PCI 0x4384 device pci 14.5 on end # USB 2 - register "ide0_enable" = "1" - register "sata0_enable" = "1" register "boot_switch_sata_ide" = "0" # 0: boot from SATA. 1: IDE - register "hda_viddid" = "0x10ec0882" end #southbridge/amd/sb700 end # device pci 18.0
Modified: trunk/src/mainboard/jetway/pa78vm5/devicetree.cb ============================================================================== --- trunk/src/mainboard/jetway/pa78vm5/devicetree.cb Tue Sep 7 09:53:26 2010 (r5780) +++ trunk/src/mainboard/jetway/pa78vm5/devicetree.cb Tue Sep 7 11:18:08 2010 (r5781) @@ -97,10 +97,7 @@ end #LPC device pci 14.4 on end # PCI 0x4384 device pci 14.5 on end # USB 2 - register "ide0_enable" = "1" - register "sata0_enable" = "1" register "boot_switch_sata_ide" = "0" # 0: boot from SATA. 1: IDE - register "hda_viddid" = "0x10ec0882" end #southbridge/amd/sb700 end # device pci 18.0
Modified: trunk/src/mainboard/kontron/kt690/devicetree.cb ============================================================================== --- trunk/src/mainboard/kontron/kt690/devicetree.cb Tue Sep 7 09:53:26 2010 (r5780) +++ trunk/src/mainboard/kontron/kt690/devicetree.cb Tue Sep 7 11:18:08 2010 (r5781) @@ -110,8 +110,6 @@ device pci 14.4 on end # PCI 0x4384 device pci 14.5 on end # ACI 0x4382 device pci 14.6 on end # MCI 0x438e - register "ide0_enable" = "1" - register "sata0_enable" = "1" register "hda_viddid" = "0x10ec0888" end #southbridge/amd/sb600 end # device pci 18.0
Modified: trunk/src/mainboard/technexion/tim5690/devicetree.cb ============================================================================== --- trunk/src/mainboard/technexion/tim5690/devicetree.cb Tue Sep 7 09:53:26 2010 (r5780) +++ trunk/src/mainboard/technexion/tim5690/devicetree.cb Tue Sep 7 11:18:08 2010 (r5781) @@ -106,8 +106,6 @@ device pci 14.4 on end # PCI 0x4384 device pci 14.5 on end # ACI 0x4382 device pci 14.6 on end # MCI 0x438e - register "ide0_enable" = "1" - register "sata0_enable" = "1" register "hda_viddid" = "0x10ec0882" end #southbridge/amd/sb600 end # device pci 18.0
Modified: trunk/src/mainboard/technexion/tim8690/devicetree.cb ============================================================================== --- trunk/src/mainboard/technexion/tim8690/devicetree.cb Tue Sep 7 09:53:26 2010 (r5780) +++ trunk/src/mainboard/technexion/tim8690/devicetree.cb Tue Sep 7 11:18:08 2010 (r5781) @@ -106,8 +106,6 @@ device pci 14.4 on end # PCI 0x4384 device pci 14.5 on end # ACI 0x4382 device pci 14.6 on end # MCI 0x438e - register "ide0_enable" = "1" - register "sata0_enable" = "1" register "hda_viddid" = "0x10ec0882" end #southbridge/amd/sb600 end # device pci 18.0
Modified: trunk/src/southbridge/amd/sb600/chip.h ============================================================================== --- trunk/src/southbridge/amd/sb600/chip.h Tue Sep 7 09:53:26 2010 (r5780) +++ trunk/src/southbridge/amd/sb600/chip.h Tue Sep 7 11:18:08 2010 (r5781) @@ -22,8 +22,6 @@
struct southbridge_amd_sb600_config { - u32 ide0_enable : 1; - u32 sata0_enable : 1; u32 hda_viddid; }; struct chip_operations;
Modified: trunk/src/southbridge/amd/sb600/sb600_ide.c ============================================================================== --- trunk/src/southbridge/amd/sb600/sb600_ide.c Tue Sep 7 09:53:26 2010 (r5780) +++ trunk/src/southbridge/amd/sb600/sb600_ide.c Tue Sep 7 11:18:08 2010 (r5781) @@ -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);
Modified: trunk/src/southbridge/amd/sb700/chip.h ============================================================================== --- trunk/src/southbridge/amd/sb700/chip.h Tue Sep 7 09:53:26 2010 (r5780) +++ trunk/src/southbridge/amd/sb700/chip.h Tue Sep 7 11:18:08 2010 (r5781) @@ -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;