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

Vishnu Patekar
2015-11-28T17:07:23Z

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(-)

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"
--
1.9.1