summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/crt0.S
diff options
context:
space:
mode:
authorWilliam Wilgus <me.theuser@yahoo.com>2017-02-08 04:46:54 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2017-10-29 17:52:40 +0100
commitefb71ed0ce6afee0643025f71e48eabca297d872 (patch)
tree9af1578076feeb6d184e5e8b0a118d89ba0d5122 /firmware/target/arm/crt0.S
parent41869a6534400090ce61111aa79398513462b24f (diff)
downloadrockbox-efb71ed0ce6afee0643025f71e48eabca297d872.tar.gz
rockbox-efb71ed0ce6afee0643025f71e48eabca297d872.zip
Add boot data to MOST AS3525 Devices
Adds boot data to as3525 devices Sansa C200v2 E200v2 Clip Clipv2 Clip+ ClipZip fuze, fuzev2 m200v4 Adds boot_data to features.txt default arm crt0.s now had boot data if HAVE_BOOTDATA is defined Change-Id: I614a556696540511a69fc12a4520b01c268bf8a9
Diffstat (limited to 'firmware/target/arm/crt0.S')
-rw-r--r--firmware/target/arm/crt0.S11
1 files changed, 10 insertions, 1 deletions
diff --git a/firmware/target/arm/crt0.S b/firmware/target/arm/crt0.S
index b9cc27f5c5..07d860ed4f 100644
--- a/firmware/target/arm/crt0.S
+++ b/firmware/target/arm/crt0.S
@@ -21,6 +21,10 @@
#include "config.h"
#include "cpu.h"
+#if defined(HAVE_BOOTDATA) && !defined(BOOTLOADER)
+#include "bootdata.h"
+#endif
+
.section .init.text,"ax",%progbits
.global start
@@ -137,6 +141,11 @@ newstart:
ldr ip, =main @ make sure we are using the virtual address
bx ip
+#if defined(HAVE_BOOTDATA) && !defined(BOOTLOADER)
+/* boot data structure */
+put_boot_data_here
+#endif
+
/* Cache-align interrupt stacks */
.balign 32
@@ -149,4 +158,4 @@ irq_stack:
fiq_stack:
svc_stack:
-end: \ No newline at end of file
+end: