diff options
Diffstat (limited to 'firmware/target/arm/crt0.S')
-rw-r--r-- | firmware/target/arm/crt0.S | 11 |
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 @@ | |||
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 |
@@ -137,6 +141,11 @@ newstart: | |||
137 | ldr ip, =main @ make sure we are using the virtual address | 141 | ldr ip, =main @ make sure we are using the virtual address |
138 | bx ip | 142 | bx ip |
139 | 143 | ||
144 | #if defined(HAVE_BOOTDATA) && !defined(BOOTLOADER) | ||
145 | /* boot data structure */ | ||
146 | put_boot_data_here | ||
147 | #endif | ||
148 | |||
140 | /* Cache-align interrupt stacks */ | 149 | /* Cache-align interrupt stacks */ |
141 | .balign 32 | 150 | .balign 32 |
142 | 151 | ||
@@ -149,4 +158,4 @@ irq_stack: | |||
149 | fiq_stack: | 158 | fiq_stack: |
150 | svc_stack: | 159 | svc_stack: |
151 | 160 | ||
152 | end: \ No newline at end of file | 161 | end: |