summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/pp/crt0-pp.S
diff options
context:
space:
mode:
authorJohannes Rauh <johnbthetenth@gmail.com>2020-08-15 18:04:47 +0200
committerWilliam Wilgus <wilgus.william@gmail.com>2020-08-19 19:17:01 -0400
commitda190727e768dea9e647989b3e765f910e9d0fbc (patch)
treed7d6443c124666ac90e5baba2605a42edd10d0c1 /firmware/target/arm/pp/crt0-pp.S
parent8ee035b6c884142f936b03b7419d14e9102515d9 (diff)
downloadrockbox-da190727e7.tar.gz
rockbox-da190727e7.tar.bz2
rockbox-da190727e7.zip
Enable boot from SD for Sansa e200
Change-Id: I0940f2cd5fc914d6d5061b5798b1a636009649b7
Diffstat (limited to 'firmware/target/arm/pp/crt0-pp.S')
-rw-r--r--firmware/target/arm/pp/crt0-pp.S9
1 files changed, 9 insertions, 0 deletions
diff --git a/firmware/target/arm/pp/crt0-pp.S b/firmware/target/arm/pp/crt0-pp.S
index 4e7621ecc8..3b78f57eea 100644
--- a/firmware/target/arm/pp/crt0-pp.S
+++ b/firmware/target/arm/pp/crt0-pp.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
@@ -402,6 +406,11 @@ prefetch_abort_handler:
mov r1, #1
b UIE
+#if defined(HAVE_BOOTDATA) && !defined(BOOTLOADER)
+/* boot data structure */
+put_boot_data_here
+#endif
+
/* Align stacks to cache line boundary */
.balign 32