summaryrefslogtreecommitdiff
path: root/arch/blackfin/cpu/init.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/blackfin/cpu/init.S')
-rw-r--r--arch/blackfin/cpu/init.S9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/blackfin/cpu/init.S b/arch/blackfin/cpu/init.S
new file mode 100644
index 0000000000..f48c113206
--- /dev/null
+++ b/arch/blackfin/cpu/init.S
@@ -0,0 +1,9 @@
+#include <asm/blackfin.h>
+ENTRY(_start)
+ sp.l = LO(L1_SRAM_SCRATCH_END - 20);
+ sp.h = HI(L1_SRAM_SCRATCH_END - 20);
+ call _initcode;
+1:
+ emuexcpt;
+ jump 1b;
+END(_start)