summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/pp/crt0-pp.S
diff options
context:
space:
mode:
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