From fb5166ce35de489c8a96f3696e208eaae6a5a8d8 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 7 May 2011 17:55:04 -0400 Subject: Blackfin: add init.elf helper code This creates a standalone ELF that executes just the Blackfin initcode. This is useful for people who want to program the low level aspects of the CPU (memory/clocks/etc...) and can easily be used with JTAG for quick booting while developing. Signed-off-by: Mike Frysinger --- arch/blackfin/cpu/init.S | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 arch/blackfin/cpu/init.S (limited to 'arch/blackfin/cpu/init.S') 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 +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) -- cgit