summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/arch/armv7/bootblock.inc2
-rw-r--r--src/arch/armv7/bootblock.lds2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/armv7/bootblock.inc b/src/arch/armv7/bootblock.inc
index 25cc8c6be4..efe3d67bd1 100644
--- a/src/arch/armv7/bootblock.inc
+++ b/src/arch/armv7/bootblock.inc
@@ -31,6 +31,7 @@
#include <system.h>
+.section ".bl1", "a", %progbits
_bl1:
/* For now we have to live with a first stage boot loader
* on ARM, which is 8KB in size and it is prepended to the
@@ -38,6 +39,7 @@ _bl1:
*/
.skip (CONFIG_BL1_SIZE_KB * 1024)
+.section ".start", "a", %progbits
.globl _start
_start: b reset
.balignl 16,0xdeadbeef
diff --git a/src/arch/armv7/bootblock.lds b/src/arch/armv7/bootblock.lds
index 9482cef34d..f45e6c072d 100644
--- a/src/arch/armv7/bootblock.lds
+++ b/src/arch/armv7/bootblock.lds
@@ -30,6 +30,8 @@ SECTIONS
/* This section might be better named .setup */
.rom ROMLOC : {
_rom = .;
+ *(.bl1);
+ *(.start);
*(.text);
*(.text.*);
*(.rom.text);