summaryrefslogtreecommitdiffstats
path: root/cpu/arm920t/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/arm920t/cpu.c')
-rw-r--r--cpu/arm920t/cpu.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpu/arm920t/cpu.c b/cpu/arm920t/cpu.c
index f93bf57e2b..8bcf0fafaf 100644
--- a/cpu/arm920t/cpu.c
+++ b/cpu/arm920t/cpu.c
@@ -31,6 +31,7 @@
#include <common.h>
#include <command.h>
+#include <init.h>
#include <arm920t.h>
#ifdef CONFIG_USE_IRQ
@@ -89,7 +90,7 @@ static void cp_delay (void)
#define C1_HIGH_VECTORS (1<<13) /* location of vectors: low/high addresses */
-int cpu_init (void)
+static int cpu_init (void)
{
/*
* setup up stacks if necessary
@@ -101,6 +102,8 @@ int cpu_init (void)
return 0;
}
+core_initcall(cpu_init);
+
int cleanup_before_linux (void)
{
/*