aboutsummaryrefslogtreecommitdiff
path: root/src/arch/arm/armv7/bootblock.S
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/arm/armv7/bootblock.S')
-rw-r--r--src/arch/arm/armv7/bootblock.S6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/arch/arm/armv7/bootblock.S b/src/arch/arm/armv7/bootblock.S
index cfe65e5393..a8d0973034 100644
--- a/src/arch/arm/armv7/bootblock.S
+++ b/src/arch/arm/armv7/bootblock.S
@@ -29,9 +29,10 @@
* MA 02111-1307 USA
*/
+#include <arch/asm.h>
+
.section ".start", "a", %progbits
-.globl _start
-_start:
+ENTRY(_start)
/*
* Set the cpu to System mode with IRQ and FIQ disabled. Prefetch/Data
* aborts may happen early and crash before the abort handlers are
@@ -89,6 +90,7 @@ call_bootblock:
wait_for_interrupt:
wfi
mov pc, lr @ back to my caller
+ENDPROC(_start)
/* we do it this way because it's a 32-bit constant and
* in some cases too far away to be loaded as just an offset