mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-02-01 03:33:14 +01:00
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 <vapier@gentoo.org>
9 lines
169 B
ArmAsm
9 lines
169 B
ArmAsm
#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)
|