diff options
author | stepan <stepan@coresystems.de> | 2010-12-08 07:07:33 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-12-08 07:07:33 +0000 |
commit | 8301d8348a0848d56fdf4dbd76acd6bdcd3fc944 (patch) | |
tree | fc0064592143c4cef40319c36fa907b72e071d81 /src/northbridge/amd/amdk8 | |
parent | 836ae29ee325b1e3d28ff59468cc50913b1e24ce (diff) |
second 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@6150 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/northbridge/amd/amdk8')
-rw-r--r-- | src/northbridge/amd/amdk8/Makefile.inc | 2 | ||||
-rw-r--r-- | src/northbridge/amd/amdk8/acpi.c (renamed from src/northbridge/amd/amdk8/amdk8_acpi.c) | 2 | ||||
-rw-r--r-- | src/northbridge/amd/amdk8/acpi.h (renamed from src/northbridge/amd/amdk8/amdk8_acpi.h) | 0 | ||||
-rw-r--r-- | src/northbridge/amd/amdk8/amdk8.h | 4 | ||||
-rw-r--r-- | src/northbridge/amd/amdk8/f.h (renamed from src/northbridge/amd/amdk8/amdk8_f.h) | 0 | ||||
-rw-r--r-- | src/northbridge/amd/amdk8/f_pci.c (renamed from src/northbridge/amd/amdk8/amdk8_f_pci.c) | 0 | ||||
-rw-r--r-- | src/northbridge/amd/amdk8/pre_f.h (renamed from src/northbridge/amd/amdk8/amdk8_pre_f.h) | 0 | ||||
-rw-r--r-- | src/northbridge/amd/amdk8/raminit_f.c | 4 | ||||
-rw-r--r-- | src/northbridge/amd/amdk8/util.asl (renamed from src/northbridge/amd/amdk8/amdk8_util.asl) | 0 |
9 files changed, 6 insertions, 6 deletions
diff --git a/src/northbridge/amd/amdk8/Makefile.inc b/src/northbridge/amd/amdk8/Makefile.inc index f5c4d19fbb..e35b9ed2d0 100644 --- a/src/northbridge/amd/amdk8/Makefile.inc +++ b/src/northbridge/amd/amdk8/Makefile.inc @@ -1,7 +1,7 @@ driver-y += northbridge.c driver-y += misc_control.c ramstage-y += get_sblk_pci1234.c -ramstage-$(CONFIG_GENERATE_ACPI_TABLES) += amdk8_acpi.c +ramstage-$(CONFIG_GENERATE_ACPI_TABLES) += acpi.c # Enable this if you want to check the values of the PCI routing registers. # Call show_all_routes() anywhere amdk8.h is included. diff --git a/src/northbridge/amd/amdk8/amdk8_acpi.c b/src/northbridge/amd/amdk8/acpi.c index c3f0f07d23..7a5d1c276e 100644 --- a/src/northbridge/amd/amdk8/amdk8_acpi.c +++ b/src/northbridge/amd/amdk8/acpi.c @@ -31,7 +31,7 @@ #include <cpu/x86/msr.h> #include <cpu/amd/mtrr.h> #include <cpu/amd/amdk8_sysconf.h> -#include "amdk8_acpi.h" +#include "acpi.h" //it seems some functions can be moved arch/i386/boot/acpi.c diff --git a/src/northbridge/amd/amdk8/amdk8_acpi.h b/src/northbridge/amd/amdk8/acpi.h index 7fb27d1acc..7fb27d1acc 100644 --- a/src/northbridge/amd/amdk8/amdk8_acpi.h +++ b/src/northbridge/amd/amdk8/acpi.h diff --git a/src/northbridge/amd/amdk8/amdk8.h b/src/northbridge/amd/amdk8/amdk8.h index dc7ef1bcab..e353edc479 100644 --- a/src/northbridge/amd/amdk8/amdk8.h +++ b/src/northbridge/amd/amdk8/amdk8.h @@ -3,9 +3,9 @@ #define AMDK8_H #if CONFIG_K8_REV_F_SUPPORT == 1 - #include "amdk8_f.h" + #include "f.h" #else - #include "amdk8_pre_f.h" + #include "pre_f.h" #endif #ifdef __PRE_RAM__ diff --git a/src/northbridge/amd/amdk8/amdk8_f.h b/src/northbridge/amd/amdk8/f.h index 769f5980ba..769f5980ba 100644 --- a/src/northbridge/amd/amdk8/amdk8_f.h +++ b/src/northbridge/amd/amdk8/f.h diff --git a/src/northbridge/amd/amdk8/amdk8_f_pci.c b/src/northbridge/amd/amdk8/f_pci.c index d89dadc0d6..d89dadc0d6 100644 --- a/src/northbridge/amd/amdk8/amdk8_f_pci.c +++ b/src/northbridge/amd/amdk8/f_pci.c diff --git a/src/northbridge/amd/amdk8/amdk8_pre_f.h b/src/northbridge/amd/amdk8/pre_f.h index dae2d97cd3..dae2d97cd3 100644 --- a/src/northbridge/amd/amdk8/amdk8_pre_f.h +++ b/src/northbridge/amd/amdk8/pre_f.h diff --git a/src/northbridge/amd/amdk8/raminit_f.c b/src/northbridge/amd/amdk8/raminit_f.c index fac30a849b..3135bcedb9 100644 --- a/src/northbridge/amd/amdk8/raminit_f.c +++ b/src/northbridge/amd/amdk8/raminit_f.c @@ -26,7 +26,7 @@ #include <stdlib.h> #include "raminit.h" -#include "amdk8_f.h" +#include "f.h" #include <spd_ddr2.h> #if CONFIG_HAVE_OPTION_TABLE #include "option_table.h" @@ -43,7 +43,7 @@ # error "CONFIG_RAMTOP must be a power of 2" #endif -#include "amdk8_f_pci.c" +#include "f_pci.c" /* for PCI_ADDR(0, 0x18, 2, 0x98) index, diff --git a/src/northbridge/amd/amdk8/amdk8_util.asl b/src/northbridge/amd/amdk8/util.asl index 57a2cf95c8..57a2cf95c8 100644 --- a/src/northbridge/amd/amdk8/amdk8_util.asl +++ b/src/northbridge/amd/amdk8/util.asl |