]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/arm/cpu/arm920t/start.S
arm: start.S: Fix _TEXT_BASE for SPL
[people/ms/u-boot.git] / arch / arm / cpu / arm920t / start.S
index 2864d128c7b49046e7c94b6c5ba6f7566f8154db..8c2c836bd1437b51155d38dd14aa9cf07e3342f3 100644 (file)
@@ -73,7 +73,11 @@ _fiq:                        .word fiq
 
 .globl _TEXT_BASE
 _TEXT_BASE:
+#if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_TEXT_BASE)
+       .word   CONFIG_SPL_TEXT_BASE
+#else
        .word   CONFIG_SYS_TEXT_BASE
+#endif
 
 /*
  * These are defined in the board-specific linker script.