Remove CONFIG_ from #defines that aren't config variables. Trivial.
authorMyles Watson <mylesgw@gmail.com>
Sat, 17 Oct 2009 13:25:07 +0000 (13:25 +0000)
committerMyles Watson <mylesgw@gmail.com>
Sat, 17 Oct 2009 13:25:07 +0000 (13:25 +0000)
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

src/arch/i386/init/car.S
src/cpu/intel/model_6ex/cache_as_ram_disable.c
src/cpu/intel/model_6fx/cache_as_ram_disable.c
src/cpu/ppc/ppc4xx/sdram.c
src/cpu/via/car/cache_as_ram.inc
src/drivers/ati/ragexl/atyfb.h
src/drivers/ati/ragexl/fbcon.h
src/drivers/emulation/qemu/fbcon.h
src/include/cpu/x86/lapic.h
src/mainboard/tyan/s2735/cache_as_ram_auto.c
src/mainboard/via/vt8454c/auto.c

index 98e40ad0cf866194ff951e0ecabfd1a36981aeee..bfd7e343ce56e678ef45114aaf9541c7058d63d3 100644 (file)
@@ -269,7 +269,7 @@ clear_fixed_var_mtrr_out:
 
 
        /* TODO: make this a config variable */
-#if CONFIG_CARTEST
+#if CARTEST
        /* check the cache as ram */
        movl  $CacheBase, %esi
        movl    $(CacheSize>>2), %ecx
index ce508676e5a68f02920f14ba822b03e86d19e943..b95447da73bdcce0c2074532d948cb58406e1474 100644 (file)
@@ -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 */
index ce508676e5a68f02920f14ba822b03e86d19e943..b95447da73bdcce0c2074532d948cb58406e1474 100644 (file)
@@ -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 */
index f7a508b4fd24ed466f3db70d6e9aef9e256129f3..17d07c769a1b2ab0913aff9876ce2292b437267a 100644 (file)
@@ -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 */
index 693bce36dd50b173998373fa321b1649c7fac1c4..3e5729aa1f88645b57101a7cf308f5a86ea2a1ef 100644 (file)
@@ -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
index 16eb15295d8cfda2266771fe9ab21c14fff3c2c0..a30cae48b3fd8d2e6f606d3f951b3dfbb7b9ce9a 100644 (file)
@@ -223,7 +223,7 @@ static inline u32 aty_ld_le32(int regindex,
     if (regindex >= 0x400)
        regindex -= 0x800;
 
-#ifdef CONFIG_ATARI
+#ifdef ATARI
     return in_le32((volatile u32 *)(info->ati_regbase+regindex));
 #else
     return readl (info->ati_regbase + regindex);
@@ -237,7 +237,7 @@ static inline void aty_st_le32(int regindex, u32 val,
     if (regindex >= 0x400)
        regindex -= 0x800;
 
-#ifdef CONFIG_ATARI
+#ifdef ATARI
     out_le32 (info->ati_regbase+regindex, val);
 #else
     writel (val, info->ati_regbase + regindex);
@@ -279,7 +279,7 @@ static inline u8 aty_ld_8(int regindex,
     if (regindex >= 0x400)
        regindex -= 0x800;
 
-#ifdef CONFIG_ATARI
+#ifdef ATARI
     return in_8 (info->ati_regbase + regindex);
 #else
     return readb (info->ati_regbase + regindex);
@@ -293,7 +293,7 @@ static inline void aty_st_8(int regindex, u8 val,
     if (regindex >= 0x400)
        regindex -= 0x800;
 
-#ifdef CONFIG_ATARI
+#ifdef ATARI
     out_8 (info->ati_regbase + regindex, val);
 #else
     writeb (val, info->ati_regbase + regindex);
index 56328323dc373ee5edf35226188fc56a26f6d019..8b83a3682bb36219b282a49f2e24214a46361d60 100644 (file)
@@ -65,7 +65,7 @@ struct display {
 #define fontheight(p) ((p)->_fontheight)
 #define fontheightlog(p) ((p)->_fontheightlog)
 
-#ifdef CONFIG_FBCON_FONTWIDTH8_ONLY
+#ifdef FBCON_FONTWIDTH8_ONLY
 
 /* fontwidth w is supported by dispsw */
 #define FONTWIDTH(w)   (1 << ((8) - 1))
index 56328323dc373ee5edf35226188fc56a26f6d019..8b83a3682bb36219b282a49f2e24214a46361d60 100644 (file)
@@ -65,7 +65,7 @@ struct display {
 #define fontheight(p) ((p)->_fontheight)
 #define fontheightlog(p) ((p)->_fontheightlog)
 
-#ifdef CONFIG_FBCON_FONTWIDTH8_ONLY
+#ifdef FBCON_FONTWIDTH8_ONLY
 
 /* fontwidth w is supported by dispsw */
 #define FONTWIDTH(w)   (1 << ((8) - 1))
index 8fced2974b664d36e92f8081b4533e66b4f11b9f..9f2191940ae35a4987e3e47ae9f074d445f8ed88 100644 (file)
@@ -112,7 +112,7 @@ static inline void lapic_write_atomic(unsigned long reg, unsigned long v)
 }
 
 
-#ifdef CONFIG_X86_GOOD_APIC
+#ifdef X86_GOOD_APIC
 # define FORCE_READ_AROUND_WRITE 0
 # define lapic_read_around(x) lapic_read(x)
 # define lapic_write_around(x,y) lapic_write((x),(y))
index 556a9858f79cce87187df016f16a17202862f200..31856fec3940f4348bd9bf18c30345a775dc4da9 100644 (file)
@@ -256,9 +256,9 @@ cpu_reset_x:
                 print_debug("new_cpu_reset = "); print_debug_hex32(new_cpu_reset); print_debug("\r\n");
 #endif
        
-#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 */
index 17cfc5f1b9afe5588cc85d47a1a77dcb5f9da4e0..645c5c514f05fbc34c58ec27f89fee8456563087 100644 (file)
@@ -35,8 +35,8 @@
 #include "cpu/x86/mtrr/earlymtrr.c"
 #include "cpu/x86/bist.h"
 
-#define CONFIG_DEACTIVATE_CAR 1
-#define CONFIG_DEACTIVATE_CAR_FILE "cpu/via/car/cache_as_ram_post.c"
+#define DEACTIVATE_CAR 1
+#define DEACTIVATE_CAR_FILE "cpu/via/car/cache_as_ram_post.c"
 #include "cpu/x86/car/copy_and_run.c"
 #include "pc80/udelay_io.c"
 #include "lib/delay.c"
@@ -120,9 +120,9 @@ static void main(unsigned long bist)
        enable_shadow_ram(cx700);
        sdram_enable(cx700);
 
-#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_run(0);