From a0c68f864e9095a94c684183deb41f706e0bd1c3 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Tue, 5 Jan 2010 13:03:02 +0000 Subject: * Explicitly add __PRE_RAM__ where it should be added. * Don't implicitly add __PRE_RAM__ in romcc. Fixes intel/xe7501devkit Signed-off-by: Stefan Reinauer Acked-by: Ronald G. Minnich Acked-by: Patrick Georgi git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4998 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/arch/i386/init/bootblock.c | 1 + src/arch/i386/lib/failover.c | 1 + 2 files changed, 2 insertions(+) (limited to 'src/arch') diff --git a/src/arch/i386/init/bootblock.c b/src/arch/i386/init/bootblock.c index 3cafef58f3..112a1953e3 100644 --- a/src/arch/i386/init/bootblock.c +++ b/src/arch/i386/init/bootblock.c @@ -1,3 +1,4 @@ +#define __PRE_RAM__ #if CONFIG_LOGICAL_CPUS && \ (defined(CONFIG_BOOTBLOCK_NORTHBRIDGE_INIT) || defined(CONFIG_BOOTBLOCK_SOUTHBRIDGE_INIT)) #include diff --git a/src/arch/i386/lib/failover.c b/src/arch/i386/lib/failover.c index f7d183610e..7beee8af4e 100644 --- a/src/arch/i386/lib/failover.c +++ b/src/arch/i386/lib/failover.c @@ -19,6 +19,7 @@ */ #define ASSEMBLY 1 +#define __PRE_RAM__ #include #include "arch/romcc_io.h" -- cgit v1.2.3