From: Kyungmin Park Date: Tue, 5 Oct 2010 00:38:41 +0000 (+0900) Subject: ARM: PRELOAD: Don't sub the sp pointer when PRELOADER X-Git-Tag: v0.2~398 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=00970bac2f0f2710bf38dc07cbcf08c2817f6b00;p=kernel%2Fu-boot.git ARM: PRELOAD: Don't sub the sp pointer when PRELOADER Signed-off-by: Kyungmin Park --- diff --git a/arch/arm/cpu/armv7/start.S b/arch/arm/cpu/armv7/start.S index 865b70f..30825f1 100644 --- a/arch/arm/cpu/armv7/start.S +++ b/arch/arm/cpu/armv7/start.S @@ -232,7 +232,8 @@ copy_loop: @ copy 32 bytes at a time stack_setup: ldr r0, _TEXT_BASE - sub sp, r0, #128 + /* As _TEXT_BASE is internal RAM start address don't sub it */ + add sp, r0, #128 bic sp, sp, #7 ldr pc, _start_armboot @ jump to C code