]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: trats: Power down core 1
authorPiotr Wilczek <p.wilczek@samsung.com>
Mon, 8 Oct 2012 20:45:42 +0000 (20:45 +0000)
committerMinkyu Kang <mk7.kang@samsung.com>
Thu, 15 Nov 2012 12:08:18 +0000 (21:08 +0900)
This patch turns power down for unused core 1

Signed-off-by: Piotr Wilczek <p.wilczek@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
board/samsung/trats/trats.c

index 57400ce374eeb55935ff4e2c3929ba205a33fa34..d5c681c05e238ce53866249ee80f25c4415ca6ee 100644 (file)
@@ -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)