]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/cpu/sa1100/start.S
arm: start.S: Fix _TEXT_BASE for SPL
[karo-tx-uboot.git] / arch / arm / cpu / sa1100 / start.S
index 4bf6f5fe97ee103d53ad012af9a64c891dcf19be..01d1a597b98165ea3b5effae8da41c2fa344eb0e 100644 (file)
@@ -74,7 +74,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.