mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-11 05:42:58 +00:00
fb5166ce35
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)
|