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

Marc Zyngier
2014-11-27T09:10:30Z

On 27/11/14 08:38, Jan Kiszka wrote:
> 0x400 is true 1K.
>
> Signed-off-by: Jan Kiszka <jan.kiszka@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@arm.com>

Thanks,

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