From: Piotr Wilczek
Date: Mon, 8 Oct 2012 20:45:42 +0000 (+0000)
Subject: arm: trats: Power down core 1
X-Git-Tag: v2013.01-rc3~9^2~55
X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ab23304dbcbb7d2123e69a8d3e9fccb7dffb894c;p=oweals%2Fu-boot.git
arm: trats: Power down core 1
This patch turns power down for unused core 1
Signed-off-by: Piotr Wilczek
Signed-off-by: Kyungmin Park
Signed-off-by: Minkyu Kang
---
diff --git a/board/samsung/trats/trats.c b/board/samsung/trats/trats.c
index 57400ce374..d5c681c05e 100644
--- a/board/samsung/trats/trats.c
+++ b/board/samsung/trats/trats.c
@@ -321,6 +321,10 @@ static void board_power_init(void)
writel(0, (unsigned int)&pwr->lcd1_configuration);
writel(0, (unsigned int)&pwr->gps_configuration);
writel(0, (unsigned int)&pwr->gps_alive_configuration);
+
+ /* It is necessary to power down core 1 */
+ /* to successfully boot CPU1 in kernel */
+ writel(0, (unsigned int)&pwr->arm_core1_configuration);
}
static void board_uart_init(void)