From: Chen-Yu Tsai Date: Fri, 28 Oct 2016 18:21:30 +0800 Subject: [U-Boot] [PATCH 03/11] sunxi: Enable SMP mode for the boot CPU on sun9i (A80) In-Reply-To: <20161028102138.8678-1-wens@csie.org> References: <20161028102138.8678-1-wens@csie.org> Message-ID: <20161028102138.8678-4-wens@csie.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Philipp Tomsich Since the A80 has many cores which we intend to use in SMP fashion, we should set the SMP bit for the boot CPU. [wens at csie.org: Added commit message] Signed-off-by: Chen-Yu Tsai --- arch/arm/mach-sunxi/board.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-sunxi/board.c b/arch/arm/mach-sunxi/board.c index 7713813a68a8..0f8ead980cdc 100644 --- a/arch/arm/mach-sunxi/board.c +++ b/arch/arm/mach-sunxi/board.c @@ -182,7 +182,8 @@ void s_init(void) #if defined CONFIG_MACH_SUN6I || \ defined CONFIG_MACH_SUN7I || \ - defined CONFIG_MACH_SUN8I + defined CONFIG_MACH_SUN8I || \ + defined CONFIG_MACH_SUN9I /* Enable SMP mode for CPU0, by setting bit 6 of Auxiliary Ctl reg */ asm volatile( "mrc p15, 0, r0, c1, c0, 1\n" -- 2.9.3