diff options
author | Johannes Rauh <johnbthetenth@gmail.com> | 2020-08-15 18:04:47 +0200 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2020-08-19 19:17:01 -0400 |
commit | da190727e768dea9e647989b3e765f910e9d0fbc (patch) | |
tree | d7d6443c124666ac90e5baba2605a42edd10d0c1 /firmware/target/arm/pp/crt0-pp.S | |
parent | 8ee035b6c884142f936b03b7419d14e9102515d9 (diff) | |
download | rockbox-da190727e768dea9e647989b3e765f910e9d0fbc.tar.gz rockbox-da190727e768dea9e647989b3e765f910e9d0fbc.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.S | 9 |
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 @@ | |||
21 | #include "config.h" | 21 | #include "config.h" |
22 | #include "cpu.h" | 22 | #include "cpu.h" |
23 | 23 | ||
24 | #if defined(HAVE_BOOTDATA) && !defined(BOOTLOADER) | ||
25 | #include "bootdata.h" | ||
26 | #endif | ||
27 | |||
24 | .section .init.text,"ax",%progbits | 28 | .section .init.text,"ax",%progbits |
25 | 29 | ||
26 | .global start | 30 | .global start |
@@ -402,6 +406,11 @@ prefetch_abort_handler: | |||
402 | mov r1, #1 | 406 | mov r1, #1 |
403 | b UIE | 407 | b UIE |
404 | 408 | ||
409 | #if defined(HAVE_BOOTDATA) && !defined(BOOTLOADER) | ||
410 | /* boot data structure */ | ||
411 | put_boot_data_here | ||
412 | #endif | ||
413 | |||
405 | /* Align stacks to cache line boundary */ | 414 | /* Align stacks to cache line boundary */ |
406 | .balign 32 | 415 | .balign 32 |
407 | 416 | ||