diff options
author | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2011-04-21 20:45:45 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2011-04-21 20:45:45 +0000 |
commit | d4814bd41c080fb9dda87c762fcaecf4e72fc996 (patch) | |
tree | 57a44f8cbfad3642084b8e3d092e230b8f7e7198 /src/include/cpu | |
parent | 1d888a97849d68a7136da558c3697c7f2a8d898a (diff) | |
download | coreboot-d4814bd41c080fb9dda87c762fcaecf4e72fc996.tar.xz |
more ifdef -> if fixes
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6536 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/include/cpu')
-rw-r--r-- | src/include/cpu/cpu.h | 2 | ||||
-rw-r--r-- | src/include/cpu/x86/mtrr.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/include/cpu/cpu.h b/src/include/cpu/cpu.h index d33b6da62e..cca2be1b27 100644 --- a/src/include/cpu/cpu.h +++ b/src/include/cpu/cpu.h @@ -9,7 +9,7 @@ void cpu_initialize(void); void initialize_cpus(struct bus *cpu_bus); void secondary_cpu_init(void); -#if !defined(CONFIG_WAIT_BEFORE_CPUS_INIT) || CONFIG_WAIT_BEFORE_CPUS_INIT==0 +#if !CONFIG_WAIT_BEFORE_CPUS_INIT #define cpus_ready_for_init() do {} while(0) #else void cpus_ready_for_init(void); diff --git a/src/include/cpu/x86/mtrr.h b/src/include/cpu/x86/mtrr.h index 5f0a8f2e4a..44a2223738 100644 --- a/src/include/cpu/x86/mtrr.h +++ b/src/include/cpu/x86/mtrr.h @@ -69,7 +69,7 @@ void x86_setup_fixed_mtrrs(void); #if !defined (__ASSEMBLER__) #if defined(CONFIG_XIP_ROM_SIZE) -# if defined(CONFIG_TINY_BOOTBLOCK) && CONFIG_TINY_BOOTBLOCK +# if CONFIG_TINY_BOOTBLOCK extern unsigned long AUTO_XIP_ROM_BASE; # define REAL_XIP_ROM_BASE AUTO_XIP_ROM_BASE # else |