aboutsummaryrefslogtreecommitdiff
path: root/src/soc/nvidia/tegra124/bootblock_asm.S
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/nvidia/tegra124/bootblock_asm.S')
-rw-r--r--src/soc/nvidia/tegra124/bootblock_asm.S16
1 files changed, 4 insertions, 12 deletions
diff --git a/src/soc/nvidia/tegra124/bootblock_asm.S b/src/soc/nvidia/tegra124/bootblock_asm.S
index 3ba2a88e26..58a34cff7e 100644
--- a/src/soc/nvidia/tegra124/bootblock_asm.S
+++ b/src/soc/nvidia/tegra124/bootblock_asm.S
@@ -29,19 +29,10 @@
* MA 02111-1307 USA
*/
-.section ".start", "a", %progbits
-.globl _start
-_start: b reset
- .balignl 16,0xdeadbeef
-
-_cbfs_master_header:
- /* The CBFS master header is inserted by cbfstool at the first
- * aligned offset after the above anchor string is found.
- * Hence, we leave some space for it.
- */
- .skip 128 @ Assumes 64-byte alignment
+#include <arch/asm.h>
-reset:
+.section ".start", "a", %progbits
+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
@@ -84,6 +75,7 @@ call_bootblock:
* wrapper which is currently broken.
*/
bl main
+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