summaryrefslogtreecommitdiff
path: root/src/arch/armv7
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/armv7
parent972d5cf040aebbb8052767a4a88ad99a961ad2bf (diff)
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/armv7')
-rw-r--r--src/arch/armv7/bootblock_simple.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/arch/armv7/bootblock_simple.c b/src/arch/armv7/bootblock_simple.c
index 6ed63ce1d0..2c8e05394c 100644
--- a/src/arch/armv7/bootblock_simple.c
+++ b/src/arch/armv7/bootblock_simple.c
@@ -25,19 +25,10 @@
#include <arch/stages.h>
#include <cbfs.h>
#include <console/console.h>
+#include <smp/node.h>
#include "stages.c"
-static int boot_cpu(void)
-{
- /*
- * FIXME: This is a stub for now. All non-boot CPUs should be
- * waiting for an interrupt. We could move the chunk of assembly
- * which puts them to sleep in here...
- */
- return 1;
-}
-
void main(void)
{
const char *stage_name = "fallback/romstage";