summaryrefslogtreecommitdiff
path: root/src/southbridge/amd
diff options
context:
space:
mode:
authorstepan <stepan@coresystems.de>2010-12-08 05:42:47 +0000
committerStefan Reinauer <stepan@openbios.org>2010-12-08 05:42:47 +0000
commit836ae29ee325b1e3d28ff59468cc50913b1e24ce (patch)
treee2691a1e1ee1d795ffe7a99fb93778a9910044c2 /src/southbridge/amd
parent1bc5ccac51d94cfb4f9666ecf2cac619d8dc80a6 (diff)
first round name simplification. drop the <component>_ prefix.
the prefix was introduced in the early v2 tree many years ago because our old build system "newconfig" could not handle two files with the same name in different paths like /path/to/usb.c and /another/path/to/usb.c correctly. Only one of the files would end up being compiled into the final image. Since Kconfig (actually since shortly before we switched to Kconfig) we don't suffer from that problem anymore. So we could drop the sb700_ prefix from all those filenames (or, the <componentname>_ prefix in general) - makes it easier to fork off a new chipset - makes it easier to diff against other chipsets - storing redundant information in filenames seems wrong Signed-off-by: <stepan@coresystems.de> Acked-by: Patrick Georgi <patrick@georgi-clan.de> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6149 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/amd')
-rw-r--r--src/southbridge/amd/amd8111/Makefile.inc20
-rw-r--r--src/southbridge/amd/amd8111/ac97.c (renamed from src/southbridge/amd/amd8111/amd8111_ac97.c)0
-rw-r--r--src/southbridge/amd/amd8111/acpi.c (renamed from src/southbridge/amd/amd8111/amd8111_acpi.c)0
-rw-r--r--src/southbridge/amd/amd8111/bootblock.c2
-rw-r--r--src/southbridge/amd/amd8111/early_ctrl.c (renamed from src/southbridge/amd/amd8111/amd8111_early_ctrl.c)0
-rw-r--r--src/southbridge/amd/amd8111/early_smbus.c (renamed from src/southbridge/amd/amd8111/amd8111_early_smbus.c)0
-rw-r--r--src/southbridge/amd/amd8111/enable_rom.c (renamed from src/southbridge/amd/amd8111/amd8111_enable_rom.c)0
-rw-r--r--src/southbridge/amd/amd8111/ide.c (renamed from src/southbridge/amd/amd8111/amd8111_ide.c)0
-rw-r--r--src/southbridge/amd/amd8111/lpc.c (renamed from src/southbridge/amd/amd8111/amd8111_lpc.c)0
-rw-r--r--src/southbridge/amd/amd8111/nic.c (renamed from src/southbridge/amd/amd8111/amd8111_nic.c)0
-rw-r--r--src/southbridge/amd/amd8111/pci.c (renamed from src/southbridge/amd/amd8111/amd8111_pci.c)0
-rw-r--r--src/southbridge/amd/amd8111/reset.c (renamed from src/southbridge/amd/amd8111/amd8111_reset.c)0
-rw-r--r--src/southbridge/amd/amd8111/smbus.c (renamed from src/southbridge/amd/amd8111/amd8111_smbus.c)0
-rw-r--r--src/southbridge/amd/amd8111/usb.c (renamed from src/southbridge/amd/amd8111/amd8111_usb.c)0
-rw-r--r--src/southbridge/amd/amd8111/usb2.c (renamed from src/southbridge/amd/amd8111/amd8111_usb2.c)0
-rw-r--r--src/southbridge/amd/amd8131-disable/bridge.c (renamed from src/southbridge/amd/amd8131-disable/amd8131_bridge.c)0
-rw-r--r--src/southbridge/amd/amd8131/Makefile.inc2
-rw-r--r--src/southbridge/amd/amd8131/bridge.c (renamed from src/southbridge/amd/amd8131/amd8131_bridge.c)0
-rw-r--r--src/southbridge/amd/amd8132/Makefile.inc2
-rw-r--r--src/southbridge/amd/amd8132/bridge.c (renamed from src/southbridge/amd/amd8132/amd8132_bridge.c)0
-rw-r--r--src/southbridge/amd/amd8151/Makefile.inc2
-rw-r--r--src/southbridge/amd/amd8151/agp3.c (renamed from src/southbridge/amd/amd8151/amd8151_agp3.c)0
-rw-r--r--src/southbridge/amd/cs5530/Makefile.inc8
-rw-r--r--src/southbridge/amd/cs5530/enable_rom.c (renamed from src/southbridge/amd/cs5530/cs5530_enable_rom.c)0
-rw-r--r--src/southbridge/amd/cs5530/ide.c (renamed from src/southbridge/amd/cs5530/cs5530_ide.c)0
-rw-r--r--src/southbridge/amd/cs5530/isa.c (renamed from src/southbridge/amd/cs5530/cs5530_isa.c)0
-rw-r--r--src/southbridge/amd/cs5530/pirq.c (renamed from src/southbridge/amd/cs5530/cs5530_pirq.c)0
-rw-r--r--src/southbridge/amd/cs5530/vga.c (renamed from src/southbridge/amd/cs5530/cs5530_vga.c)0
-rw-r--r--src/southbridge/amd/cs5535/Makefile.inc4
-rw-r--r--src/southbridge/amd/cs5535/early_setup.c (renamed from src/southbridge/amd/cs5535/cs5535_early_setup.c)0
-rw-r--r--src/southbridge/amd/cs5535/early_smbus.c (renamed from src/southbridge/amd/cs5535/cs5535_early_smbus.c)2
-rw-r--r--src/southbridge/amd/cs5535/ide.c (renamed from src/southbridge/amd/cs5535/cs5535_ide.c)0
-rw-r--r--src/southbridge/amd/cs5535/smbus.h (renamed from src/southbridge/amd/cs5535/cs5535_smbus.h)0
-rw-r--r--src/southbridge/amd/cs5536/Makefile.inc4
-rw-r--r--src/southbridge/amd/cs5536/early_setup.c (renamed from src/southbridge/amd/cs5536/cs5536_early_setup.c)0
-rw-r--r--src/southbridge/amd/cs5536/early_smbus.c (renamed from src/southbridge/amd/cs5536/cs5536_early_smbus.c)0
-rw-r--r--src/southbridge/amd/cs5536/ide.c (renamed from src/southbridge/amd/cs5536/cs5536_ide.c)0
-rw-r--r--src/southbridge/amd/cs5536/pirq.c (renamed from src/southbridge/amd/cs5536/cs5536_pirq.c)0
-rw-r--r--src/southbridge/amd/cs5536/smbus2.h (renamed from src/southbridge/amd/cs5536/cs5536_smbus2.h)0
-rw-r--r--src/southbridge/amd/rs690/Makefile.inc8
-rw-r--r--src/southbridge/amd/rs690/cmn.c (renamed from src/southbridge/amd/rs690/rs690_cmn.c)0
-rw-r--r--src/southbridge/amd/rs690/early_setup.c (renamed from src/southbridge/amd/rs690/rs690_early_setup.c)0
-rw-r--r--src/southbridge/amd/rs690/gfx.c (renamed from src/southbridge/amd/rs690/rs690_gfx.c)0
-rw-r--r--src/southbridge/amd/rs690/ht.c (renamed from src/southbridge/amd/rs690/rs690_ht.c)0
-rw-r--r--src/southbridge/amd/rs690/pcie.c (renamed from src/southbridge/amd/rs690/rs690_pcie.c)0
-rw-r--r--src/southbridge/amd/rs780/Makefile.inc8
-rw-r--r--src/southbridge/amd/rs780/cmn.c (renamed from src/southbridge/amd/rs780/rs780_cmn.c)0
-rw-r--r--src/southbridge/amd/rs780/early_setup.c (renamed from src/southbridge/amd/rs780/rs780_early_setup.c)2
-rw-r--r--src/southbridge/amd/rs780/gfx.c (renamed from src/southbridge/amd/rs780/rs780_gfx.c)0
-rw-r--r--src/southbridge/amd/rs780/ht.c (renamed from src/southbridge/amd/rs780/rs780_ht.c)0
-rw-r--r--src/southbridge/amd/rs780/pcie.c (renamed from src/southbridge/amd/rs780/rs780_pcie.c)0
-rw-r--r--src/southbridge/amd/rs780/rev.h (renamed from src/southbridge/amd/rs780/rs780_rev.h)0
-rw-r--r--src/southbridge/amd/rs780/rs780.h2
-rw-r--r--src/southbridge/amd/sb600/Makefile.inc20
-rw-r--r--src/southbridge/amd/sb600/ac97.c (renamed from src/southbridge/amd/sb600/sb600_ac97.c)0
-rw-r--r--src/southbridge/amd/sb600/bootblock.c2
-rw-r--r--src/southbridge/amd/sb600/early_setup.c (renamed from src/southbridge/amd/sb600/sb600_early_setup.c)2
-rw-r--r--src/southbridge/amd/sb600/enable_rom.c (renamed from src/southbridge/amd/sb600/sb600_enable_rom.c)0
-rw-r--r--src/southbridge/amd/sb600/enable_usbdebug.c (renamed from src/southbridge/amd/sb600/sb600_enable_usbdebug.c)0
-rw-r--r--src/southbridge/amd/sb600/hda.c (renamed from src/southbridge/amd/sb600/sb600_hda.c)0
-rw-r--r--src/southbridge/amd/sb600/ide.c (renamed from src/southbridge/amd/sb600/sb600_ide.c)0
-rw-r--r--src/southbridge/amd/sb600/lpc.c (renamed from src/southbridge/amd/sb600/sb600_lpc.c)0
-rw-r--r--src/southbridge/amd/sb600/pci.c (renamed from src/southbridge/amd/sb600/sb600_pci.c)0
-rw-r--r--src/southbridge/amd/sb600/reset.c (renamed from src/southbridge/amd/sb600/sb600_reset.c)0
-rw-r--r--src/southbridge/amd/sb600/sata.c (renamed from src/southbridge/amd/sb600/sb600_sata.c)0
-rw-r--r--src/southbridge/amd/sb600/sm.c (renamed from src/southbridge/amd/sb600/sb600_sm.c)2
-rw-r--r--src/southbridge/amd/sb600/smbus.c (renamed from src/southbridge/amd/sb600/sb600_smbus.c)2
-rw-r--r--src/southbridge/amd/sb600/smbus.h (renamed from src/southbridge/amd/sb600/sb600_smbus.h)0
-rw-r--r--src/southbridge/amd/sb600/usb.c (renamed from src/southbridge/amd/sb600/sb600_usb.c)0
-rw-r--r--src/southbridge/amd/sb700/Makefile.inc18
-rw-r--r--src/southbridge/amd/sb700/early_setup.c (renamed from src/southbridge/amd/sb700/sb700_early_setup.c)2
-rw-r--r--src/southbridge/amd/sb700/enable_usbdebug.c (renamed from src/southbridge/amd/sb700/sb700_enable_usbdebug.c)0
-rw-r--r--src/southbridge/amd/sb700/hda.c (renamed from src/southbridge/amd/sb700/sb700_hda.c)0
-rw-r--r--src/southbridge/amd/sb700/ide.c (renamed from src/southbridge/amd/sb700/sb700_ide.c)0
-rw-r--r--src/southbridge/amd/sb700/lpc.c (renamed from src/southbridge/amd/sb700/sb700_lpc.c)0
-rw-r--r--src/southbridge/amd/sb700/pci.c (renamed from src/southbridge/amd/sb700/sb700_pci.c)0
-rw-r--r--src/southbridge/amd/sb700/reset.c (renamed from src/southbridge/amd/sb700/sb700_reset.c)0
-rw-r--r--src/southbridge/amd/sb700/sata.c (renamed from src/southbridge/amd/sb700/sb700_sata.c)0
-rw-r--r--src/southbridge/amd/sb700/sm.c (renamed from src/southbridge/amd/sb700/sb700_sm.c)2
-rw-r--r--src/southbridge/amd/sb700/smbus.c (renamed from src/southbridge/amd/sb700/sb700_smbus.c)2
-rw-r--r--src/southbridge/amd/sb700/smbus.h (renamed from src/southbridge/amd/sb700/sb700_smbus.h)0
-rw-r--r--src/southbridge/amd/sb700/usb.c (renamed from src/southbridge/amd/sb700/sb700_usb.c)0
82 files changed, 59 insertions, 59 deletions
diff --git a/src/southbridge/amd/amd8111/Makefile.inc b/src/southbridge/amd/amd8111/Makefile.inc
index b58fbaac88..cdad4a62ab 100644
--- a/src/southbridge/amd/amd8111/Makefile.inc
+++ b/src/southbridge/amd/amd8111/Makefile.inc
@@ -1,11 +1,11 @@
driver-y += amd8111.c
-driver-y += amd8111_usb.c
-driver-y += amd8111_lpc.c
-driver-y += amd8111_ide.c
-driver-y += amd8111_acpi.c
-driver-y += amd8111_usb2.c
-driver-y += amd8111_ac97.c
-driver-y += amd8111_nic.c
-driver-y += amd8111_pci.c
-driver-y += amd8111_smbus.c
-ramstage-y += amd8111_reset.c
+driver-y += usb.c
+driver-y += lpc.c
+driver-y += ide.c
+driver-y += acpi.c
+driver-y += usb2.c
+driver-y += ac97.c
+driver-y += nic.c
+driver-y += pci.c
+driver-y += smbus.c
+ramstage-y += reset.c
diff --git a/src/southbridge/amd/amd8111/amd8111_ac97.c b/src/southbridge/amd/amd8111/ac97.c
index f49c9bfd5f..f49c9bfd5f 100644
--- a/src/southbridge/amd/amd8111/amd8111_ac97.c
+++ b/src/southbridge/amd/amd8111/ac97.c
diff --git a/src/southbridge/amd/amd8111/amd8111_acpi.c b/src/southbridge/amd/amd8111/acpi.c
index 2ad54b78f6..2ad54b78f6 100644
--- a/src/southbridge/amd/amd8111/amd8111_acpi.c
+++ b/src/southbridge/amd/amd8111/acpi.c
diff --git a/src/southbridge/amd/amd8111/bootblock.c b/src/southbridge/amd/amd8111/bootblock.c
index 695f49898b..a11d1d30f4 100644
--- a/src/southbridge/amd/amd8111/bootblock.c
+++ b/src/southbridge/amd/amd8111/bootblock.c
@@ -1,4 +1,4 @@
-#include "southbridge/amd/amd8111/amd8111_enable_rom.c"
+#include "southbridge/amd/amd8111/enable_rom.c"
static void bootblock_southbridge_init(void)
{
diff --git a/src/southbridge/amd/amd8111/amd8111_early_ctrl.c b/src/southbridge/amd/amd8111/early_ctrl.c
index ece99ed40a..ece99ed40a 100644
--- a/src/southbridge/amd/amd8111/amd8111_early_ctrl.c
+++ b/src/southbridge/amd/amd8111/early_ctrl.c
diff --git a/src/southbridge/amd/amd8111/amd8111_early_smbus.c b/src/southbridge/amd/amd8111/early_smbus.c
index e6d70847ea..e6d70847ea 100644
--- a/src/southbridge/amd/amd8111/amd8111_early_smbus.c
+++ b/src/southbridge/amd/amd8111/early_smbus.c
diff --git a/src/southbridge/amd/amd8111/amd8111_enable_rom.c b/src/southbridge/amd/amd8111/enable_rom.c
index 3e73112b47..3e73112b47 100644
--- a/src/southbridge/amd/amd8111/amd8111_enable_rom.c
+++ b/src/southbridge/amd/amd8111/enable_rom.c
diff --git a/src/southbridge/amd/amd8111/amd8111_ide.c b/src/southbridge/amd/amd8111/ide.c
index 3299875187..3299875187 100644
--- a/src/southbridge/amd/amd8111/amd8111_ide.c
+++ b/src/southbridge/amd/amd8111/ide.c
diff --git a/src/southbridge/amd/amd8111/amd8111_lpc.c b/src/southbridge/amd/amd8111/lpc.c
index e9bd5fc42b..e9bd5fc42b 100644
--- a/src/southbridge/amd/amd8111/amd8111_lpc.c
+++ b/src/southbridge/amd/amd8111/lpc.c
diff --git a/src/southbridge/amd/amd8111/amd8111_nic.c b/src/southbridge/amd/amd8111/nic.c
index 4ab7212eda..4ab7212eda 100644
--- a/src/southbridge/amd/amd8111/amd8111_nic.c
+++ b/src/southbridge/amd/amd8111/nic.c
diff --git a/src/southbridge/amd/amd8111/amd8111_pci.c b/src/southbridge/amd/amd8111/pci.c
index 9e7724980f..9e7724980f 100644
--- a/src/southbridge/amd/amd8111/amd8111_pci.c
+++ b/src/southbridge/amd/amd8111/pci.c
diff --git a/src/southbridge/amd/amd8111/amd8111_reset.c b/src/southbridge/amd/amd8111/reset.c
index c96e898aea..c96e898aea 100644
--- a/src/southbridge/amd/amd8111/amd8111_reset.c
+++ b/src/southbridge/amd/amd8111/reset.c
diff --git a/src/southbridge/amd/amd8111/amd8111_smbus.c b/src/southbridge/amd/amd8111/smbus.c
index 0a0c58dce3..0a0c58dce3 100644
--- a/src/southbridge/amd/amd8111/amd8111_smbus.c
+++ b/src/southbridge/amd/amd8111/smbus.c
diff --git a/src/southbridge/amd/amd8111/amd8111_usb.c b/src/southbridge/amd/amd8111/usb.c
index 13dccf435b..13dccf435b 100644
--- a/src/southbridge/amd/amd8111/amd8111_usb.c
+++ b/src/southbridge/amd/amd8111/usb.c
diff --git a/src/southbridge/amd/amd8111/amd8111_usb2.c b/src/southbridge/amd/amd8111/usb2.c
index 89115c3bbe..89115c3bbe 100644
--- a/src/southbridge/amd/amd8111/amd8111_usb2.c
+++ b/src/southbridge/amd/amd8111/usb2.c
diff --git a/src/southbridge/amd/amd8131-disable/amd8131_bridge.c b/src/southbridge/amd/amd8131-disable/bridge.c
index e90f497d95..e90f497d95 100644
--- a/src/southbridge/amd/amd8131-disable/amd8131_bridge.c
+++ b/src/southbridge/amd/amd8131-disable/bridge.c
diff --git a/src/southbridge/amd/amd8131/Makefile.inc b/src/southbridge/amd/amd8131/Makefile.inc
index 395f0e0e0c..d5b3a5f88e 100644
--- a/src/southbridge/amd/amd8131/Makefile.inc
+++ b/src/southbridge/amd/amd8131/Makefile.inc
@@ -1 +1 @@
-driver-y += amd8131_bridge.c
+driver-y += bridge.c
diff --git a/src/southbridge/amd/amd8131/amd8131_bridge.c b/src/southbridge/amd/amd8131/bridge.c
index d258450a06..d258450a06 100644
--- a/src/southbridge/amd/amd8131/amd8131_bridge.c
+++ b/src/southbridge/amd/amd8131/bridge.c
diff --git a/src/southbridge/amd/amd8132/Makefile.inc b/src/southbridge/amd/amd8132/Makefile.inc
index f1e844af10..d5b3a5f88e 100644
--- a/src/southbridge/amd/amd8132/Makefile.inc
+++ b/src/southbridge/amd/amd8132/Makefile.inc
@@ -1 +1 @@
-driver-y += amd8132_bridge.c
+driver-y += bridge.c
diff --git a/src/southbridge/amd/amd8132/amd8132_bridge.c b/src/southbridge/amd/amd8132/bridge.c
index 192137a18e..192137a18e 100644
--- a/src/southbridge/amd/amd8132/amd8132_bridge.c
+++ b/src/southbridge/amd/amd8132/bridge.c
diff --git a/src/southbridge/amd/amd8151/Makefile.inc b/src/southbridge/amd/amd8151/Makefile.inc
index d9b46989c6..b25139108a 100644
--- a/src/southbridge/amd/amd8151/Makefile.inc
+++ b/src/southbridge/amd/amd8151/Makefile.inc
@@ -1 +1 @@
-driver-y += amd8151_agp3.c
+driver-y += agp3.c
diff --git a/src/southbridge/amd/amd8151/amd8151_agp3.c b/src/southbridge/amd/amd8151/agp3.c
index a2df7035c9..a2df7035c9 100644
--- a/src/southbridge/amd/amd8151/amd8151_agp3.c
+++ b/src/southbridge/amd/amd8151/agp3.c
diff --git a/src/southbridge/amd/cs5530/Makefile.inc b/src/southbridge/amd/cs5530/Makefile.inc
index f51369fac1..4bde476743 100644
--- a/src/southbridge/amd/cs5530/Makefile.inc
+++ b/src/southbridge/amd/cs5530/Makefile.inc
@@ -19,7 +19,7 @@
##
driver-y += cs5530.c
-driver-y += cs5530_isa.c
-driver-y += cs5530_ide.c
-driver-y += cs5530_vga.c
-driver-y += cs5530_pirq.c
+driver-y += isa.c
+driver-y += ide.c
+driver-y += vga.c
+driver-y += pirq.c
diff --git a/src/southbridge/amd/cs5530/cs5530_enable_rom.c b/src/southbridge/amd/cs5530/enable_rom.c
index 09ec3ed791..09ec3ed791 100644
--- a/src/southbridge/amd/cs5530/cs5530_enable_rom.c
+++ b/src/southbridge/amd/cs5530/enable_rom.c
diff --git a/src/southbridge/amd/cs5530/cs5530_ide.c b/src/southbridge/amd/cs5530/ide.c
index a1fa2dc2c3..a1fa2dc2c3 100644
--- a/src/southbridge/amd/cs5530/cs5530_ide.c
+++ b/src/southbridge/amd/cs5530/ide.c
diff --git a/src/southbridge/amd/cs5530/cs5530_isa.c b/src/southbridge/amd/cs5530/isa.c
index ff1617ddc3..ff1617ddc3 100644
--- a/src/southbridge/amd/cs5530/cs5530_isa.c
+++ b/src/southbridge/amd/cs5530/isa.c
diff --git a/src/southbridge/amd/cs5530/cs5530_pirq.c b/src/southbridge/amd/cs5530/pirq.c
index 693f7c4721..693f7c4721 100644
--- a/src/southbridge/amd/cs5530/cs5530_pirq.c
+++ b/src/southbridge/amd/cs5530/pirq.c
diff --git a/src/southbridge/amd/cs5530/cs5530_vga.c b/src/southbridge/amd/cs5530/vga.c
index 4a26251084..4a26251084 100644
--- a/src/southbridge/amd/cs5530/cs5530_vga.c
+++ b/src/southbridge/amd/cs5530/vga.c
diff --git a/src/southbridge/amd/cs5535/Makefile.inc b/src/southbridge/amd/cs5535/Makefile.inc
index ba092f125b..5fecea8e7e 100644
--- a/src/southbridge/amd/cs5535/Makefile.inc
+++ b/src/southbridge/amd/cs5535/Makefile.inc
@@ -1,4 +1,4 @@
driver-y += cs5535.c
-#driver-y += cs5535_pci.c
-#driver-y += cs5535_ide.c
+#driver-y += pci.c
+#driver-y += ide.c
ramstage-y += chipsetinit.c
diff --git a/src/southbridge/amd/cs5535/cs5535_early_setup.c b/src/southbridge/amd/cs5535/early_setup.c
index 1a612cc55f..1a612cc55f 100644
--- a/src/southbridge/amd/cs5535/cs5535_early_setup.c
+++ b/src/southbridge/amd/cs5535/early_setup.c
diff --git a/src/southbridge/amd/cs5535/cs5535_early_smbus.c b/src/southbridge/amd/cs5535/early_smbus.c
index 0aab46f6a3..25b6951daa 100644
--- a/src/southbridge/amd/cs5535/cs5535_early_smbus.c
+++ b/src/southbridge/amd/cs5535/early_smbus.c
@@ -1,4 +1,4 @@
-#include "cs5535_smbus.h"
+#include "smbus.h"
#define SMBUS_IO_BASE 0x6000
diff --git a/src/southbridge/amd/cs5535/cs5535_ide.c b/src/southbridge/amd/cs5535/ide.c
index b997ca2463..b997ca2463 100644
--- a/src/southbridge/amd/cs5535/cs5535_ide.c
+++ b/src/southbridge/amd/cs5535/ide.c
diff --git a/src/southbridge/amd/cs5535/cs5535_smbus.h b/src/southbridge/amd/cs5535/smbus.h
index db35f6ee7b..db35f6ee7b 100644
--- a/src/southbridge/amd/cs5535/cs5535_smbus.h
+++ b/src/southbridge/amd/cs5535/smbus.h
diff --git a/src/southbridge/amd/cs5536/Makefile.inc b/src/southbridge/amd/cs5536/Makefile.inc
index a1a36833fc..75c6e5c930 100644
--- a/src/southbridge/amd/cs5536/Makefile.inc
+++ b/src/southbridge/amd/cs5536/Makefile.inc
@@ -18,5 +18,5 @@
##
driver-y += cs5536.c
-driver-y += cs5536_ide.c
-driver-y += cs5536_pirq.c
+driver-y += ide.c
+driver-y += pirq.c
diff --git a/src/southbridge/amd/cs5536/cs5536_early_setup.c b/src/southbridge/amd/cs5536/early_setup.c
index 047c1a21a0..047c1a21a0 100644
--- a/src/southbridge/amd/cs5536/cs5536_early_setup.c
+++ b/src/southbridge/amd/cs5536/early_setup.c
diff --git a/src/southbridge/amd/cs5536/cs5536_early_smbus.c b/src/southbridge/amd/cs5536/early_smbus.c
index 5cb815d250..5cb815d250 100644
--- a/src/southbridge/amd/cs5536/cs5536_early_smbus.c
+++ b/src/southbridge/amd/cs5536/early_smbus.c
diff --git a/src/southbridge/amd/cs5536/cs5536_ide.c b/src/southbridge/amd/cs5536/ide.c
index c4cc652e93..c4cc652e93 100644
--- a/src/southbridge/amd/cs5536/cs5536_ide.c
+++ b/src/southbridge/amd/cs5536/ide.c
diff --git a/src/southbridge/amd/cs5536/cs5536_pirq.c b/src/southbridge/amd/cs5536/pirq.c
index b2ae1fe3af..b2ae1fe3af 100644
--- a/src/southbridge/amd/cs5536/cs5536_pirq.c
+++ b/src/southbridge/amd/cs5536/pirq.c
diff --git a/src/southbridge/amd/cs5536/cs5536_smbus2.h b/src/southbridge/amd/cs5536/smbus2.h
index dea08a437c..dea08a437c 100644
--- a/src/southbridge/amd/cs5536/cs5536_smbus2.h
+++ b/src/southbridge/amd/cs5536/smbus2.h
diff --git a/src/southbridge/amd/rs690/Makefile.inc b/src/southbridge/amd/rs690/Makefile.inc
index c728be56a4..5849340ce0 100644
--- a/src/southbridge/amd/rs690/Makefile.inc
+++ b/src/southbridge/amd/rs690/Makefile.inc
@@ -1,5 +1,5 @@
driver-y += rs690.c
-driver-y += rs690_cmn.c
-driver-y += rs690_pcie.c
-driver-y += rs690_ht.c
-driver-y += rs690_gfx.c
+driver-y += cmn.c
+driver-y += pcie.c
+driver-y += ht.c
+driver-y += gfx.c
diff --git a/src/southbridge/amd/rs690/rs690_cmn.c b/src/southbridge/amd/rs690/cmn.c
index 5e06d4f9d8..5e06d4f9d8 100644
--- a/src/southbridge/amd/rs690/rs690_cmn.c
+++ b/src/southbridge/amd/rs690/cmn.c
diff --git a/src/southbridge/amd/rs690/rs690_early_setup.c b/src/southbridge/amd/rs690/early_setup.c
index f29d136791..f29d136791 100644
--- a/src/southbridge/amd/rs690/rs690_early_setup.c
+++ b/src/southbridge/amd/rs690/early_setup.c
diff --git a/src/southbridge/amd/rs690/rs690_gfx.c b/src/southbridge/amd/rs690/gfx.c
index c55f2bc3d3..c55f2bc3d3 100644
--- a/src/southbridge/amd/rs690/rs690_gfx.c
+++ b/src/southbridge/amd/rs690/gfx.c
diff --git a/src/southbridge/amd/rs690/rs690_ht.c b/src/southbridge/amd/rs690/ht.c
index 26824b5322..26824b5322 100644
--- a/src/southbridge/amd/rs690/rs690_ht.c
+++ b/src/southbridge/amd/rs690/ht.c
diff --git a/src/southbridge/amd/rs690/rs690_pcie.c b/src/southbridge/amd/rs690/pcie.c
index f02e0d73b4..f02e0d73b4 100644
--- a/src/southbridge/amd/rs690/rs690_pcie.c
+++ b/src/southbridge/amd/rs690/pcie.c
diff --git a/src/southbridge/amd/rs780/Makefile.inc b/src/southbridge/amd/rs780/Makefile.inc
index f76e517c82..db425702d6 100644
--- a/src/southbridge/amd/rs780/Makefile.inc
+++ b/src/southbridge/amd/rs780/Makefile.inc
@@ -1,5 +1,5 @@
driver-y += rs780.c
-driver-y += rs780_cmn.c
-driver-y += rs780_pcie.c
-driver-y += rs780_ht.c
-driver-y += rs780_gfx.c
+driver-y += cmn.c
+driver-y += pcie.c
+driver-y += ht.c
+driver-y += gfx.c
diff --git a/src/southbridge/amd/rs780/rs780_cmn.c b/src/southbridge/amd/rs780/cmn.c
index 4bd870bbf2..4bd870bbf2 100644
--- a/src/southbridge/amd/rs780/rs780_cmn.c
+++ b/src/southbridge/amd/rs780/cmn.c
diff --git a/src/southbridge/amd/rs780/rs780_early_setup.c b/src/southbridge/amd/rs780/early_setup.c
index 57a7b62427..a93ba83172 100644
--- a/src/southbridge/amd/rs780/rs780_early_setup.c
+++ b/src/southbridge/amd/rs780/early_setup.c
@@ -21,7 +21,7 @@
#define CONFIG_NORTHBRIDGE_AMD_AMDFAM10 0
#endif
-#include "rs780_rev.h"
+#include "rev.h"
#define NBHTIU_INDEX 0x94 /* Note: It is different with RS690, whose HTIU index is 0xA8 */
#define NBMISC_INDEX 0x60
diff --git a/src/southbridge/amd/rs780/rs780_gfx.c b/src/southbridge/amd/rs780/gfx.c
index 1763c36047..1763c36047 100644
--- a/src/southbridge/amd/rs780/rs780_gfx.c
+++ b/src/southbridge/amd/rs780/gfx.c
diff --git a/src/southbridge/amd/rs780/rs780_ht.c b/src/southbridge/amd/rs780/ht.c
index 03d4f84645..03d4f84645 100644
--- a/src/southbridge/amd/rs780/rs780_ht.c
+++ b/src/southbridge/amd/rs780/ht.c
diff --git a/src/southbridge/amd/rs780/rs780_pcie.c b/src/southbridge/amd/rs780/pcie.c
index 9cbd832661..9cbd832661 100644
--- a/src/southbridge/amd/rs780/rs780_pcie.c
+++ b/src/southbridge/amd/rs780/pcie.c
diff --git a/src/southbridge/amd/rs780/rs780_rev.h b/src/southbridge/amd/rs780/rev.h
index 94ab752f9f..94ab752f9f 100644
--- a/src/southbridge/amd/rs780/rs780_rev.h
+++ b/src/southbridge/amd/rs780/rev.h
diff --git a/src/southbridge/amd/rs780/rs780.h b/src/southbridge/amd/rs780/rs780.h
index c91a4b3022..aba3e6929b 100644
--- a/src/southbridge/amd/rs780/rs780.h
+++ b/src/southbridge/amd/rs780/rs780.h
@@ -23,7 +23,7 @@
#include <stdint.h>
#include <device/pci_ids.h>
#include "chip.h"
-#include "rs780_rev.h"
+#include "rev.h"
#define NBMISC_INDEX 0x60
#define NBHTIU_INDEX 0x94
diff --git a/src/southbridge/amd/sb600/Makefile.inc b/src/southbridge/amd/sb600/Makefile.inc
index 854539b9b3..b5903616c0 100644
--- a/src/southbridge/amd/sb600/Makefile.inc
+++ b/src/southbridge/amd/sb600/Makefile.inc
@@ -1,11 +1,11 @@
driver-y += sb600.c
-driver-y += sb600_usb.c
-driver-y += sb600_lpc.c
-driver-y += sb600_sm.c
-driver-y += sb600_ide.c
-driver-y += sb600_sata.c
-driver-y += sb600_hda.c
-driver-y += sb600_ac97.c
-driver-y += sb600_pci.c
-ramstage-y += sb600_reset.c
-romstage-y += sb600_enable_usbdebug.c
+driver-y += usb.c
+driver-y += lpc.c
+driver-y += sm.c
+driver-y += ide.c
+driver-y += sata.c
+driver-y += hda.c
+driver-y += ac97.c
+driver-y += pci.c
+ramstage-y += reset.c
+romstage-y += enable_usbdebug.c
diff --git a/src/southbridge/amd/sb600/sb600_ac97.c b/src/southbridge/amd/sb600/ac97.c
index e9eae65fb6..e9eae65fb6 100644
--- a/src/southbridge/amd/sb600/sb600_ac97.c
+++ b/src/southbridge/amd/sb600/ac97.c
diff --git a/src/southbridge/amd/sb600/bootblock.c b/src/southbridge/amd/sb600/bootblock.c
index dd943d79b7..a5eb2f2fac 100644
--- a/src/southbridge/amd/sb600/bootblock.c
+++ b/src/southbridge/amd/sb600/bootblock.c
@@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "southbridge/amd/sb600/sb600_enable_rom.c"
+#include "southbridge/amd/sb600/enable_rom.c"
static void bootblock_southbridge_init(void)
{
diff --git a/src/southbridge/amd/sb600/sb600_early_setup.c b/src/southbridge/amd/sb600/early_setup.c
index 3ed8dd85de..45b29c1d58 100644
--- a/src/southbridge/amd/sb600/sb600_early_setup.c
+++ b/src/southbridge/amd/sb600/early_setup.c
@@ -20,7 +20,7 @@
#include <reset.h>
#include <arch/cpu.h>
#include "sb600.h"
-#include "sb600_smbus.c"
+#include "smbus.c"
#define SMBUS_IO_BASE 0x1000 /* Is it a temporary SMBus I/O base address? */
/*SIZE 0x40 */
diff --git a/src/southbridge/amd/sb600/sb600_enable_rom.c b/src/southbridge/amd/sb600/enable_rom.c
index b2668420ce..b2668420ce 100644
--- a/src/southbridge/amd/sb600/sb600_enable_rom.c
+++ b/src/southbridge/amd/sb600/enable_rom.c
diff --git a/src/southbridge/amd/sb600/sb600_enable_usbdebug.c b/src/southbridge/amd/sb600/enable_usbdebug.c
index b4d97b0da2..b4d97b0da2 100644
--- a/src/southbridge/amd/sb600/sb600_enable_usbdebug.c
+++ b/src/southbridge/amd/sb600/enable_usbdebug.c
diff --git a/src/southbridge/amd/sb600/sb600_hda.c b/src/southbridge/amd/sb600/hda.c
index 84df3f169f..84df3f169f 100644
--- a/src/southbridge/amd/sb600/sb600_hda.c
+++ b/src/southbridge/amd/sb600/hda.c
diff --git a/src/southbridge/amd/sb600/sb600_ide.c b/src/southbridge/amd/sb600/ide.c
index e38e83fdd7..e38e83fdd7 100644
--- a/src/southbridge/amd/sb600/sb600_ide.c
+++ b/src/southbridge/amd/sb600/ide.c
diff --git a/src/southbridge/amd/sb600/sb600_lpc.c b/src/southbridge/amd/sb600/lpc.c
index 6a17f72318..6a17f72318 100644
--- a/src/southbridge/amd/sb600/sb600_lpc.c
+++ b/src/southbridge/amd/sb600/lpc.c
diff --git a/src/southbridge/amd/sb600/sb600_pci.c b/src/southbridge/amd/sb600/pci.c
index 66ca29bd78..66ca29bd78 100644
--- a/src/southbridge/amd/sb600/sb600_pci.c
+++ b/src/southbridge/amd/sb600/pci.c
diff --git a/src/southbridge/amd/sb600/sb600_reset.c b/src/southbridge/amd/sb600/reset.c
index af80576204..af80576204 100644
--- a/src/southbridge/amd/sb600/sb600_reset.c
+++ b/src/southbridge/amd/sb600/reset.c
diff --git a/src/southbridge/amd/sb600/sb600_sata.c b/src/southbridge/amd/sb600/sata.c
index 055e7daa85..055e7daa85 100644
--- a/src/southbridge/amd/sb600/sb600_sata.c
+++ b/src/southbridge/amd/sb600/sata.c
diff --git a/src/southbridge/amd/sb600/sb600_sm.c b/src/southbridge/amd/sb600/sm.c
index b074edb89e..1a0d6acdd8 100644
--- a/src/southbridge/amd/sb600/sb600_sm.c
+++ b/src/southbridge/amd/sb600/sm.c
@@ -30,7 +30,7 @@
#include <arch/ioapic.h>
#include <stdlib.h>
#include "sb600.h"
-#include "sb600_smbus.c"
+#include "smbus.c"
#define NMI_OFF 0
diff --git a/src/southbridge/amd/sb600/sb600_smbus.c b/src/southbridge/amd/sb600/smbus.c
index 0cc0e62c04..cdd1930b5f 100644
--- a/src/southbridge/amd/sb600/sb600_smbus.c
+++ b/src/southbridge/amd/sb600/smbus.c
@@ -17,7 +17,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "sb600_smbus.h"
+#include "smbus.h"
static inline void smbus_delay(void)
{
diff --git a/src/southbridge/amd/sb600/sb600_smbus.h b/src/southbridge/amd/sb600/smbus.h
index 684d0e62c4..684d0e62c4 100644
--- a/src/southbridge/amd/sb600/sb600_smbus.h
+++ b/src/southbridge/amd/sb600/smbus.h
diff --git a/src/southbridge/amd/sb600/sb600_usb.c b/src/southbridge/amd/sb600/usb.c
index 7539f083c6..7539f083c6 100644
--- a/src/southbridge/amd/sb600/sb600_usb.c
+++ b/src/southbridge/amd/sb600/usb.c
diff --git a/src/southbridge/amd/sb700/Makefile.inc b/src/southbridge/amd/sb700/Makefile.inc
index dd97df31e6..8d1c20813a 100644
--- a/src/southbridge/amd/sb700/Makefile.inc
+++ b/src/southbridge/amd/sb700/Makefile.inc
@@ -1,10 +1,10 @@
driver-y += sb700.c
-driver-y += sb700_usb.c
-driver-y += sb700_lpc.c
-driver-y += sb700_sm.c
-driver-y += sb700_ide.c
-driver-y += sb700_sata.c
-driver-y += sb700_hda.c
-driver-y += sb700_pci.c
-ramstage-y += sb700_reset.c
-romstage-y += sb700_enable_usbdebug.c
+driver-y += usb.c
+driver-y += lpc.c
+driver-y += sm.c
+driver-y += ide.c
+driver-y += sata.c
+driver-y += hda.c
+driver-y += pci.c
+ramstage-y += reset.c
+romstage-y += enable_usbdebug.c
diff --git a/src/southbridge/amd/sb700/sb700_early_setup.c b/src/southbridge/amd/sb700/early_setup.c
index 9f8d44f6c7..81ffc1c7d5 100644
--- a/src/southbridge/amd/sb700/sb700_early_setup.c
+++ b/src/southbridge/amd/sb700/early_setup.c
@@ -23,7 +23,7 @@
#include <reset.h>
#include <arch/cpu.h>
#include "sb700.h"
-#include "sb700_smbus.c"
+#include "smbus.c"
#define SMBUS_IO_BASE 0x6000 /* Is it a temporary SMBus I/O base address? */
/*SIZE 0x40 */
diff --git a/src/southbridge/amd/sb700/sb700_enable_usbdebug.c b/src/southbridge/amd/sb700/enable_usbdebug.c
index d74a9bbc9f..d74a9bbc9f 100644
--- a/src/southbridge/amd/sb700/sb700_enable_usbdebug.c
+++ b/src/southbridge/amd/sb700/enable_usbdebug.c
diff --git a/src/southbridge/amd/sb700/sb700_hda.c b/src/southbridge/amd/sb700/hda.c
index 417d513e90..417d513e90 100644
--- a/src/southbridge/amd/sb700/sb700_hda.c
+++ b/src/southbridge/amd/sb700/hda.c
diff --git a/src/southbridge/amd/sb700/sb700_ide.c b/src/southbridge/amd/sb700/ide.c
index 4652ca2539..4652ca2539 100644
--- a/src/southbridge/amd/sb700/sb700_ide.c
+++ b/src/southbridge/amd/sb700/ide.c
diff --git a/src/southbridge/amd/sb700/sb700_lpc.c b/src/southbridge/amd/sb700/lpc.c
index a3a50c6c9b..a3a50c6c9b 100644
--- a/src/southbridge/amd/sb700/sb700_lpc.c
+++ b/src/southbridge/amd/sb700/lpc.c
diff --git a/src/southbridge/amd/sb700/sb700_pci.c b/src/southbridge/amd/sb700/pci.c
index d1e9851b9d..d1e9851b9d 100644
--- a/src/southbridge/amd/sb700/sb700_pci.c
+++ b/src/southbridge/amd/sb700/pci.c
diff --git a/src/southbridge/amd/sb700/sb700_reset.c b/src/southbridge/amd/sb700/reset.c
index 32ee66b4b5..32ee66b4b5 100644
--- a/src/southbridge/amd/sb700/sb700_reset.c
+++ b/src/southbridge/amd/sb700/reset.c
diff --git a/src/southbridge/amd/sb700/sb700_sata.c b/src/southbridge/amd/sb700/sata.c
index 08b9aa8ad9..08b9aa8ad9 100644
--- a/src/southbridge/amd/sb700/sb700_sata.c
+++ b/src/southbridge/amd/sb700/sata.c
diff --git a/src/southbridge/amd/sb700/sb700_sm.c b/src/southbridge/amd/sb700/sm.c
index e700c0b5f3..69df215f52 100644
--- a/src/southbridge/amd/sb700/sb700_sm.c
+++ b/src/southbridge/amd/sb700/sm.c
@@ -30,7 +30,7 @@
#include <arch/ioapic.h>
#include <stdlib.h>
#include "sb700.h"
-#include "sb700_smbus.c"
+#include "smbus.c"
#define NMI_OFF 0
diff --git a/src/southbridge/amd/sb700/sb700_smbus.c b/src/southbridge/amd/sb700/smbus.c
index ee1653df3e..e47bceed47 100644
--- a/src/southbridge/amd/sb700/sb700_smbus.c
+++ b/src/southbridge/amd/sb700/smbus.c
@@ -20,7 +20,7 @@
#ifndef _SB700_SMBUS_C_
#define _SB700_SMBUS_C_
-#include "sb700_smbus.h"
+#include "smbus.h"
static inline void smbus_delay(void)
{
diff --git a/src/southbridge/amd/sb700/sb700_smbus.h b/src/southbridge/amd/sb700/smbus.h
index c21a1dc0a2..c21a1dc0a2 100644
--- a/src/southbridge/amd/sb700/sb700_smbus.h
+++ b/src/southbridge/amd/sb700/smbus.h
diff --git a/src/southbridge/amd/sb700/sb700_usb.c b/src/southbridge/amd/sb700/usb.c
index 3b3ad584a7..3b3ad584a7 100644
--- a/src/southbridge/amd/sb700/sb700_usb.c
+++ b/src/southbridge/amd/sb700/usb.c