summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/i386/init/bootblock.c1
-rw-r--r--src/arch/i386/lib/failover.c1
2 files changed, 2 insertions, 0 deletions
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 <cpu/x86/lapic/boot_cpu.c>
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 <arch/io.h>
#include "arch/romcc_io.h"