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

Marc Zyngier marc.zyngier at arm.com
Thu Nov 27 10:10:30 CET 2014


On 27/11/14 08:38, Jan Kiszka wrote:
> 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
> 

(with a brown paper bag on)

Acked-by: Marc Zyngier <marc.zyngier at arm.com>

Thanks,

	M.
-- 
Jazz is not dead. It just smells funny...


More information about the U-Boot mailing list