[U-Boot] [PATCH] sunxi: Align PSCI stack calculation to comment

Jan Kiszka jan.kiszka at siemens.com
Thu Nov 27 09:38:50 CET 2014


0x400 is true 1K.

Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
---

Hans, are you collecting sunxi-related patches? This is just a trivial
one, there will be more.

 arch/arm/cpu/armv7/sunxi/psci.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/cpu/armv7/sunxi/psci.S b/arch/arm/cpu/armv7/sunxi/psci.S
index b9ea78b..a84807d 100644
--- a/arch/arm/cpu/armv7/sunxi/psci.S
+++ b/arch/arm/cpu/armv7/sunxi/psci.S
@@ -68,7 +68,7 @@ psci_arch_init:
 
 	mrc	p15, 0, r4, c0, c0, 5	@ MPIDR
 	and	r4, r4, #3		@ cpu number in cluster
-	mov	r5, #400		@ 1kB of stack per CPU
+	mov	r5, #0x400		@ 1kB of stack per CPU
 	mul	r4, r4, r5
 
 	adr	r5, text_end		@ end of text
-- 
1.8.4.5



More information about the U-Boot mailing list