diff options
author | John Crispin <john@openwrt.org> | 2014-11-26 09:00:17 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-11-26 09:00:17 +0000 |
commit | c05048b0bb686bfa927d3a4848127b9052549fb1 (patch) | |
tree | 2c546927f7bdac026bfeda08e9856d5eef738b66 /package/boot/uboot-oxnas/files/board/ox820/spl_start.S | |
parent | 72b58f2eb12ad4aa0c59481d0911dc5e39180eb5 (diff) | |
download | upstream-c05048b0bb686bfa927d3a4848127b9052549fb1.tar.gz upstream-c05048b0bb686bfa927d3a4848127b9052549fb1.tar.bz2 upstream-c05048b0bb686bfa927d3a4848127b9052549fb1.zip |
add uboot-oxnas
This adds support for the oxnas target in U-Boot 2014.04
History can be found at https://github.com/kref/u-boot-oxnas up to 2013.10
changes from 2013.10 to 2014.04 can be followed at
https://gitorious.org/openwrt-oxnas
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 43389
Diffstat (limited to 'package/boot/uboot-oxnas/files/board/ox820/spl_start.S')
-rw-r--r-- | package/boot/uboot-oxnas/files/board/ox820/spl_start.S | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/package/boot/uboot-oxnas/files/board/ox820/spl_start.S b/package/boot/uboot-oxnas/files/board/ox820/spl_start.S new file mode 100644 index 0000000000..2eab3f56d8 --- /dev/null +++ b/package/boot/uboot-oxnas/files/board/ox820/spl_start.S @@ -0,0 +1,21 @@ +.section .init +.globl _spl_start +_spl_start: + b _start + b _start+0x4 + b _start+0x8 + b _start+0xc + b _start+0x10 + b _start+0x14 + b _start+0x18 + b _start+0x1c + .space 0x30 - (. - _spl_start) + .ascii "BOOT" /* 0x30 signature*/ + .word 0x50 /* 0x34 header size itself */ + .word 0 /* 0x38 */ + .word 0x5000f000 /* boot report location */ + .word _start /* 0x40 */ + +main_crc_size: .word code_size /* 0x44 filled by linker */ +main_crc: .word 0 /* 0x48 fill later */ +header_crc: .word 0 /* 0x4C header crc*/ |