diff options
author | stepan <stepan@coresystems.de> | 2010-12-08 05:42:47 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-12-08 05:42:47 +0000 |
commit | 836ae29ee325b1e3d28ff59468cc50913b1e24ce (patch) | |
tree | e2691a1e1ee1d795ffe7a99fb93778a9910044c2 /src/southbridge/broadcom | |
parent | 1bc5ccac51d94cfb4f9666ecf2cac619d8dc80a6 (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/broadcom')
-rw-r--r-- | src/southbridge/broadcom/bcm21000/Makefile.inc | 2 | ||||
-rw-r--r-- | src/southbridge/broadcom/bcm21000/pcie.c (renamed from src/southbridge/broadcom/bcm21000/bcm21000_pcie.c) | 0 | ||||
-rw-r--r-- | src/southbridge/broadcom/bcm5780/Makefile.inc | 6 | ||||
-rw-r--r-- | src/southbridge/broadcom/bcm5780/nic.c (renamed from src/southbridge/broadcom/bcm5780/bcm5780_nic.c) | 0 | ||||
-rw-r--r-- | src/southbridge/broadcom/bcm5780/pcie.c (renamed from src/southbridge/broadcom/bcm5780/bcm5780_pcie.c) | 0 | ||||
-rw-r--r-- | src/southbridge/broadcom/bcm5780/pcix.c (renamed from src/southbridge/broadcom/bcm5780/bcm5780_pcix.c) | 0 | ||||
-rw-r--r-- | src/southbridge/broadcom/bcm5785/Makefile.inc | 12 | ||||
-rw-r--r-- | src/southbridge/broadcom/bcm5785/bootblock.c | 2 | ||||
-rw-r--r-- | src/southbridge/broadcom/bcm5785/early_setup.c (renamed from src/southbridge/broadcom/bcm5785/bcm5785_early_setup.c) | 0 | ||||
-rw-r--r-- | src/southbridge/broadcom/bcm5785/early_smbus.c (renamed from src/southbridge/broadcom/bcm5785/bcm5785_early_smbus.c) | 2 | ||||
-rw-r--r-- | src/southbridge/broadcom/bcm5785/enable_rom.c (renamed from src/southbridge/broadcom/bcm5785/bcm5785_enable_rom.c) | 0 | ||||
-rw-r--r-- | src/southbridge/broadcom/bcm5785/ide.c (renamed from src/southbridge/broadcom/bcm5785/bcm5785_ide.c) | 0 | ||||
-rw-r--r-- | src/southbridge/broadcom/bcm5785/lpc.c (renamed from src/southbridge/broadcom/bcm5785/bcm5785_lpc.c) | 0 | ||||
-rw-r--r-- | src/southbridge/broadcom/bcm5785/reset.c (renamed from src/southbridge/broadcom/bcm5785/bcm5785_reset.c) | 0 | ||||
-rw-r--r-- | src/southbridge/broadcom/bcm5785/sata.c (renamed from src/southbridge/broadcom/bcm5785/bcm5785_sata.c) | 0 | ||||
-rw-r--r-- | src/southbridge/broadcom/bcm5785/sb_pci_main.c (renamed from src/southbridge/broadcom/bcm5785/bcm5785_sb_pci_main.c) | 2 | ||||
-rw-r--r-- | src/southbridge/broadcom/bcm5785/smbus.h (renamed from src/southbridge/broadcom/bcm5785/bcm5785_smbus.h) | 0 | ||||
-rw-r--r-- | src/southbridge/broadcom/bcm5785/usb.c (renamed from src/southbridge/broadcom/bcm5785/bcm5785_usb.c) | 0 |
18 files changed, 13 insertions, 13 deletions
diff --git a/src/southbridge/broadcom/bcm21000/Makefile.inc b/src/southbridge/broadcom/bcm21000/Makefile.inc index 246be282e2..8e5ba7411b 100644 --- a/src/southbridge/broadcom/bcm21000/Makefile.inc +++ b/src/southbridge/broadcom/bcm21000/Makefile.inc @@ -1 +1 @@ -driver-y += bcm21000_pcie.c +driver-y += pcie.c diff --git a/src/southbridge/broadcom/bcm21000/bcm21000_pcie.c b/src/southbridge/broadcom/bcm21000/pcie.c index 72ee95b8cf..72ee95b8cf 100644 --- a/src/southbridge/broadcom/bcm21000/bcm21000_pcie.c +++ b/src/southbridge/broadcom/bcm21000/pcie.c diff --git a/src/southbridge/broadcom/bcm5780/Makefile.inc b/src/southbridge/broadcom/bcm5780/Makefile.inc index 55c6e11ec1..b8a1b96c27 100644 --- a/src/southbridge/broadcom/bcm5780/Makefile.inc +++ b/src/southbridge/broadcom/bcm5780/Makefile.inc @@ -1,3 +1,3 @@ -driver-y += bcm5780_nic.c -driver-y += bcm5780_pcix.c -driver-y += bcm5780_pcie.c +driver-y += nic.c +driver-y += pcix.c +driver-y += pcie.c diff --git a/src/southbridge/broadcom/bcm5780/bcm5780_nic.c b/src/southbridge/broadcom/bcm5780/nic.c index 387c402215..387c402215 100644 --- a/src/southbridge/broadcom/bcm5780/bcm5780_nic.c +++ b/src/southbridge/broadcom/bcm5780/nic.c diff --git a/src/southbridge/broadcom/bcm5780/bcm5780_pcie.c b/src/southbridge/broadcom/bcm5780/pcie.c index 786ad4f431..786ad4f431 100644 --- a/src/southbridge/broadcom/bcm5780/bcm5780_pcie.c +++ b/src/southbridge/broadcom/bcm5780/pcie.c diff --git a/src/southbridge/broadcom/bcm5780/bcm5780_pcix.c b/src/southbridge/broadcom/bcm5780/pcix.c index e500542c33..e500542c33 100644 --- a/src/southbridge/broadcom/bcm5780/bcm5780_pcix.c +++ b/src/southbridge/broadcom/bcm5780/pcix.c diff --git a/src/southbridge/broadcom/bcm5785/Makefile.inc b/src/southbridge/broadcom/bcm5785/Makefile.inc index e80ed35a34..9ad67ccf1f 100644 --- a/src/southbridge/broadcom/bcm5785/Makefile.inc +++ b/src/southbridge/broadcom/bcm5785/Makefile.inc @@ -1,7 +1,7 @@ driver-y += bcm5785.c -driver-y += bcm5785_usb.c -driver-y += bcm5785_lpc.c -driver-y += bcm5785_sb_pci_main.c -driver-y += bcm5785_ide.c -driver-y += bcm5785_sata.c -ramstage-y += bcm5785_reset.c +driver-y += usb.c +driver-y += lpc.c +driver-y += sb_pci_main.c +driver-y += ide.c +driver-y += sata.c +ramstage-y += reset.c diff --git a/src/southbridge/broadcom/bcm5785/bootblock.c b/src/southbridge/broadcom/bcm5785/bootblock.c index 40201c6072..f51fcd0ff9 100644 --- a/src/southbridge/broadcom/bcm5785/bootblock.c +++ b/src/southbridge/broadcom/bcm5785/bootblock.c @@ -18,7 +18,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#include "bcm5785_enable_rom.c" +#include "enable_rom.c" static void bootblock_southbridge_init(void) { diff --git a/src/southbridge/broadcom/bcm5785/bcm5785_early_setup.c b/src/southbridge/broadcom/bcm5785/early_setup.c index e3edfd8635..e3edfd8635 100644 --- a/src/southbridge/broadcom/bcm5785/bcm5785_early_setup.c +++ b/src/southbridge/broadcom/bcm5785/early_setup.c diff --git a/src/southbridge/broadcom/bcm5785/bcm5785_early_smbus.c b/src/southbridge/broadcom/bcm5785/early_smbus.c index 3cc1292574..f235e58888 100644 --- a/src/southbridge/broadcom/bcm5785/bcm5785_early_smbus.c +++ b/src/southbridge/broadcom/bcm5785/early_smbus.c @@ -18,7 +18,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#include "bcm5785_smbus.h" +#include "smbus.h" #define SMBUS_IO_BASE 0x1000 diff --git a/src/southbridge/broadcom/bcm5785/bcm5785_enable_rom.c b/src/southbridge/broadcom/bcm5785/enable_rom.c index 1cd28498b9..1cd28498b9 100644 --- a/src/southbridge/broadcom/bcm5785/bcm5785_enable_rom.c +++ b/src/southbridge/broadcom/bcm5785/enable_rom.c diff --git a/src/southbridge/broadcom/bcm5785/bcm5785_ide.c b/src/southbridge/broadcom/bcm5785/ide.c index a40094afde..a40094afde 100644 --- a/src/southbridge/broadcom/bcm5785/bcm5785_ide.c +++ b/src/southbridge/broadcom/bcm5785/ide.c diff --git a/src/southbridge/broadcom/bcm5785/bcm5785_lpc.c b/src/southbridge/broadcom/bcm5785/lpc.c index adf546245f..adf546245f 100644 --- a/src/southbridge/broadcom/bcm5785/bcm5785_lpc.c +++ b/src/southbridge/broadcom/bcm5785/lpc.c diff --git a/src/southbridge/broadcom/bcm5785/bcm5785_reset.c b/src/southbridge/broadcom/bcm5785/reset.c index a59b23992e..a59b23992e 100644 --- a/src/southbridge/broadcom/bcm5785/bcm5785_reset.c +++ b/src/southbridge/broadcom/bcm5785/reset.c diff --git a/src/southbridge/broadcom/bcm5785/bcm5785_sata.c b/src/southbridge/broadcom/bcm5785/sata.c index 573e8475ce..573e8475ce 100644 --- a/src/southbridge/broadcom/bcm5785/bcm5785_sata.c +++ b/src/southbridge/broadcom/bcm5785/sata.c diff --git a/src/southbridge/broadcom/bcm5785/bcm5785_sb_pci_main.c b/src/southbridge/broadcom/bcm5785/sb_pci_main.c index 6c65fad4cf..fe809c4974 100644 --- a/src/southbridge/broadcom/bcm5785/bcm5785_sb_pci_main.c +++ b/src/southbridge/broadcom/bcm5785/sb_pci_main.c @@ -30,7 +30,7 @@ #include <arch/io.h> #include <device/smbus.h> #include "bcm5785.h" -#include "bcm5785_smbus.h" +#include "smbus.h" #define NMI_OFF 0 diff --git a/src/southbridge/broadcom/bcm5785/bcm5785_smbus.h b/src/southbridge/broadcom/bcm5785/smbus.h index f6dfffa878..f6dfffa878 100644 --- a/src/southbridge/broadcom/bcm5785/bcm5785_smbus.h +++ b/src/southbridge/broadcom/bcm5785/smbus.h diff --git a/src/southbridge/broadcom/bcm5785/bcm5785_usb.c b/src/southbridge/broadcom/bcm5785/usb.c index a16d6fe11b..a16d6fe11b 100644 --- a/src/southbridge/broadcom/bcm5785/bcm5785_usb.c +++ b/src/southbridge/broadcom/bcm5785/usb.c |