[U-Boot] [PATCH 05/10] sunxi: do not enable smp for A83T

Hans de Goede hdegoede at redhat.com
Fri Nov 13 18:24:43 CET 2015


Hi,

On 12-11-15 19:09, Vishnu Patekar wrote:
> When smp is enabled for A83T, intermittent hang is observed after booting kernel.
> for now do not enable the smp for CPU0. This has to be fixed.
> Also, fixed the space at line start warning at these two lines.
>
> Signed-off-by: Vishnu Patekar <vishnupatekar0510 at gmail.com>
> ---
>   arch/arm/cpu/armv7/sunxi/board.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/cpu/armv7/sunxi/board.c b/arch/arm/cpu/armv7/sunxi/board.c
> index 348f028..e463e5b 100644
> --- a/arch/arm/cpu/armv7/sunxi/board.c
> +++ b/arch/arm/cpu/armv7/sunxi/board.c
> @@ -113,8 +113,8 @@ void s_init(void)
>   	setbits_le32(SUNXI_SRAMC_BASE + 0x44, 0x1800);
>   #endif
>   #if defined CONFIG_MACH_SUN6I || \
> -    defined CONFIG_MACH_SUN7I || \
> -    defined CONFIG_MACH_SUN8I
> +	defined CONFIG_MACH_SUN7I || \
> +	defined CONFIG_MACH_SUN8I && !(CONFIG_MACH_SUN8I_A83T)
>   	/* Enable SMP mode for CPU0, by setting bit 6 of Auxiliary Ctl reg */
>   	asm volatile(
>   		"mrc p15, 0, r0, c1, c0, 1\n"
>

Please try again if this is still necessary when not trying to use
the PSCI code.

Regards,

Hans


More information about the U-Boot mailing list