aboutsummaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@gmail.com>2009-10-17 13:25:07 +0000
committerMyles Watson <mylesgw@gmail.com>2009-10-17 13:25:07 +0000
commit0bc615482e34af308712be970479aeb613f5fa41 (patch)
treeaaf65180b43b30302880d95cd349b3de15046964 /src/cpu
parentd7b37b0a670abc24e538700c0e2762f1cde7faf7 (diff)
Remove CONFIG_ from #defines that aren't config variables. Trivial.
Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Myles Watson <mylesgw@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4802 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/intel/model_6ex/cache_as_ram_disable.c4
-rw-r--r--src/cpu/intel/model_6fx/cache_as_ram_disable.c4
-rw-r--r--src/cpu/ppc/ppc4xx/sdram.c6
-rw-r--r--src/cpu/via/car/cache_as_ram.inc2
4 files changed, 8 insertions, 8 deletions
diff --git a/src/cpu/intel/model_6ex/cache_as_ram_disable.c b/src/cpu/intel/model_6ex/cache_as_ram_disable.c
index ce508676e5..b95447da73 100644
--- a/src/cpu/intel/model_6ex/cache_as_ram_disable.c
+++ b/src/cpu/intel/model_6ex/cache_as_ram_disable.c
@@ -102,9 +102,9 @@ cpu_reset_x:
:"=a" (new_cpu_reset)
);
-#ifdef CONFIG_DEACTIVATE_CAR
+#ifdef DEACTIVATE_CAR
print_debug("Deactivating CAR");
-#include CONFIG_DEACTIVATE_CAR_FILE
+#include DEACTIVATE_CAR_FILE
print_debug(" - Done.\r\n");
#endif
/* Copy and execute coreboot_ram */
diff --git a/src/cpu/intel/model_6fx/cache_as_ram_disable.c b/src/cpu/intel/model_6fx/cache_as_ram_disable.c
index ce508676e5..b95447da73 100644
--- a/src/cpu/intel/model_6fx/cache_as_ram_disable.c
+++ b/src/cpu/intel/model_6fx/cache_as_ram_disable.c
@@ -102,9 +102,9 @@ cpu_reset_x:
:"=a" (new_cpu_reset)
);
-#ifdef CONFIG_DEACTIVATE_CAR
+#ifdef DEACTIVATE_CAR
print_debug("Deactivating CAR");
-#include CONFIG_DEACTIVATE_CAR_FILE
+#include DEACTIVATE_CAR_FILE
print_debug(" - Done.\r\n");
#endif
/* Copy and execute coreboot_ram */
diff --git a/src/cpu/ppc/ppc4xx/sdram.c b/src/cpu/ppc/ppc4xx/sdram.c
index f7a508b4fd..17d07c769a 100644
--- a/src/cpu/ppc/ppc4xx/sdram.c
+++ b/src/cpu/ppc/ppc4xx/sdram.c
@@ -28,8 +28,8 @@
#include <clock.h>
#include <stdint.h>
-#define CONFIG_SDRAM_BANK0
-#ifdef CONFIG_SDRAM_BANK0
+#define CONFIGURE_SDRAM_BANK0
+#ifdef CONFIGURE_SDRAM_BANK0
/*
* According to the PPC405GPr Users Manual, only non-reserved
@@ -130,4 +130,4 @@ void memory_init(void)
udelay(10000);
}
-#endif /* CONFIG_SDRAM_BANK0 */
+#endif /* CONFIGURE_SDRAM_BANK0 */
diff --git a/src/cpu/via/car/cache_as_ram.inc b/src/cpu/via/car/cache_as_ram.inc
index 693bce36dd..3e5729aa1f 100644
--- a/src/cpu/via/car/cache_as_ram.inc
+++ b/src/cpu/via/car/cache_as_ram.inc
@@ -131,7 +131,7 @@ clear_fixed_var_mtrr_out:
movl $(CacheBase+CacheSize-4), %eax
movl %eax, %esp
-#ifdef CONFIG_CARTEST
+#ifdef CARTEST
testok: movb $0x40,%al
outb %al, $0x80
xorl %edx, %edx