From ab23304dbcbb7d2123e69a8d3e9fccb7dffb894c Mon Sep 17 00:00:00 2001
From: Piotr Wilczek
Date: Mon, 8 Oct 2012 20:45:42 +0000
Subject: 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
---
board/samsung/trats/trats.c | 4 ++++
1 file changed, 4 insertions(+)
(limited to 'board/samsung')
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)
--
cgit