summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/ixp/start.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/cpu/ixp/start.S')
-rw-r--r--arch/arm/cpu/ixp/start.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/cpu/ixp/start.S b/arch/arm/cpu/ixp/start.S
index b725964..8f4fa7b 100644
--- a/arch/arm/cpu/ixp/start.S
+++ b/arch/arm/cpu/ixp/start.S
@@ -98,7 +98,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.