diff mbox

[U-Boot,v2,5/9] sunxi: do not enable smp for A83T

Message ID 1448730447-31328-6-git-send-email-vishnupatekar0510@gmail.com
State Accepted
Delegated to: Hans de Goede
Headers show

Commit Message

vishnupatekar Nov. 28, 2015, 5:07 p.m. UTC
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@gmail.com>
---
 arch/arm/cpu/armv7/sunxi/board.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Hans de Goede Nov. 30, 2015, 8:16 a.m. UTC | #1
Hi,

 > 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.

Is this still needed now that we bring up only one CPU anyways?

Regards,

Hans
diff mbox

Patch

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"