From da190727e768dea9e647989b3e765f910e9d0fbc Mon Sep 17 00:00:00 2001 From: Johannes Rauh Date: Sat, 15 Aug 2020 18:04:47 +0200 Subject: Enable boot from SD for Sansa e200 Change-Id: I0940f2cd5fc914d6d5061b5798b1a636009649b7 --- firmware/target/arm/pp/crt0-pp.S | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'firmware/target/arm/pp/crt0-pp.S') 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 -- cgit v1.2.3