aboutsummaryrefslogtreecommitdiffstats
path: root/src/arch/x86
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2014-01-26 14:41:54 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-02-11 21:55:30 +0100
commit5a5c886b8d7b191f6d2842af84e3dcfa3e3a6e39 (patch)
tree230d24c4898c9dbbde72e8940cd3af53095ef0a2 /src/arch/x86
parent972d5cf040aebbb8052767a4a88ad99a961ad2bf (diff)
downloadcoreboot-5a5c886b8d7b191f6d2842af84e3dcfa3e3a6e39.tar.gz
coreboot-5a5c886b8d7b191f6d2842af84e3dcfa3e3a6e39.tar.xz
coreboot-5a5c886b8d7b191f6d2842af84e3dcfa3e3a6e39.zip
SMP: Add arch-agnostic boot_cpu()
We should not have x86 specific includes in lib/. Change-Id: I18fa9c8017d65c166ffd465038d71f35b30d6f3d Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/5156 Tested-by: build bot (Jenkins) Reviewed-by: David Hendricks <dhendrix@chromium.org> Reviewed-by: Aaron Durbin <adurbin@google.com>
Diffstat (limited to 'src/arch/x86')
-rw-r--r--src/arch/x86/init/bootblock_normal.c1
-rw-r--r--src/arch/x86/init/bootblock_simple.c1
-rw-r--r--src/arch/x86/lib/romstage_console.c5
3 files changed, 4 insertions, 3 deletions
diff --git a/src/arch/x86/init/bootblock_normal.c b/src/arch/x86/init/bootblock_normal.c
index 82bad53d1..f227e8e9d 100644
--- a/src/arch/x86/init/bootblock_normal.c
+++ b/src/arch/x86/init/bootblock_normal.c
@@ -1,3 +1,4 @@
+#include <smp/node.h>
#include <bootblock_common.h>
#include <pc80/mc146818rtc.h>
diff --git a/src/arch/x86/init/bootblock_simple.c b/src/arch/x86/init/bootblock_simple.c
index 204636e07..34f55cac3 100644
--- a/src/arch/x86/init/bootblock_simple.c
+++ b/src/arch/x86/init/bootblock_simple.c
@@ -1,3 +1,4 @@
+#include <smp/node.h>
#include <bootblock_common.h>
static void main(unsigned long bist)
diff --git a/src/arch/x86/lib/romstage_console.c b/src/arch/x86/lib/romstage_console.c
index 0eb3dc277..68b10eb8a 100644
--- a/src/arch/x86/lib/romstage_console.c
+++ b/src/arch/x86/lib/romstage_console.c
@@ -17,8 +17,10 @@
* MA 02110-1301 USA
*/
+#include <smp/node.h>
#include <console/console.h>
#include <console/vtxprintf.h>
+
#if CONFIG_CONSOLE_SERIAL8250 || CONFIG_CONSOLE_SERIAL8250MEM
#include <uart8250.h>
#endif
@@ -31,9 +33,6 @@
#if CONFIG_SPKMODEM
#include <console/spkmodem.h>
#endif
-#if CONFIG_SQUELCH_EARLY_SMP
-#include <cpu/x86/lapic.h>
-#endif
void console_tx_byte(unsigned char byte)
{