Patchwork [U-Boot,2/9] arm, arm926: fix missing symbols in NAND_SPL mode

login
register
mail settings
Submitter Heiko Schocher
Date July 16, 2011, 10:06 a.m.
Message ID <1310810810-5322-3-git-send-email-hs@denx.de>
Download mbox | patch
Permalink /patch/104942/
State Accepted
Commit 6a6e1677ad93cebcf2bd9106911865d89c98cef5
Headers show

Comments

Heiko Schocher - July 16, 2011, 10:06 a.m.
Signed-off-by: Heiko Schocher <hs@denx.de>
---
 arch/arm/cpu/arm926ejs/start.S |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

Patch

diff --git a/arch/arm/cpu/arm926ejs/start.S b/arch/arm/cpu/arm926ejs/start.S
index 0940937..7b1a803 100644
--- a/arch/arm/cpu/arm926ejs/start.S
+++ b/arch/arm/cpu/arm926ejs/start.S
@@ -137,6 +137,12 @@  _bss_end_ofs:
 _end_ofs:
 	.word _end - _start
 
+#ifdef CONFIG_NAND_U_BOOT
+.globl _end
+_end:
+	.word __bss_end__
+#endif
+
 #ifdef CONFIG_USE_IRQ
 /* IRQ stack memory (calculated at run-time) */
 .globl IRQ_STACK_START