Skip to contentSkip to conversation

arm: trats: Turn power down for core 1

PATCH New Piotr Wilczek 4 participants 5 messages Oct 9, 2012 – Oct 10, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: trats: Turn power down for core 1

This patch turns power down for unused core 1 on Samsung Trats board.

Piotr Wilczek (1):
arm: trats: Power down core 1

 board/samsung/trats/trats.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
Signature · 1 line
1.7.5.4
#1 lore raw

PATCH 1/1 arm: trats: Power down core 1

This patch turns power down for unused core 1

---
 board/samsung/trats/trats.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
board/samsung/trats/trats.c +4 -0
index 57400ce..d5c681c 100644
@@ -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)
Signature · 1 line
1.7.5.4
#2 lore raw

PATCH 1/1 arm: trats: Power down core 1

Hi Piotr,

Quoted 14 lines · Piotr Wilczek

This patch turns power down for unused core 1

---
 board/samsung/trats/trats.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
board/samsung/trats/trats.c +0 -0
index 57400ce..d5c681c 100644

board/samsung/trats/trats.c static void board_power_init(void) · line 330

Quoted 10 lines
board/samsung/trats/trats.c +4 -0
@@ -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)
Cc ing trats maintainer.

Amicalement,

Signature · 1 line
Albert.
#3 lore raw

PATCH 1/1 arm: trats: Power down core 1

FYI: Piotr and Lukasz are working together for samsung board.

Minkyu, can you pick up this patch?

Thank you,
Kyungmin Park

Quoted 42 lines

-----Original Message-----
From: Albert ARIBAUD [mailto:albert.u.boot at aribaud.net]
Sent: Wednesday, October 10, 2012 2:07 AM
To: Piotr Wilczek
Cc: u-boot at lists.denx.de; Kyungmin Park; Lukasz Majewski
Subject: Re: [U-Boot] [PATCH] arm: trats: Power down core 1

Hi Piotr,

Quoted 14 lines · Piotr Wilczek

This patch turns power down for unused core 1

---
 board/samsung/trats/trats.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
board/samsung/trats/trats.c +0 -0
index 57400ce..d5c681c 100644

board/samsung/trats/trats.c static void board_power_init(void) · line 330

Quoted 10 lines
board/samsung/trats/trats.c +4 -0
@@ -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)
Cc ing trats maintainer.

Amicalement,
--
Albert.

#4 lore raw

PATCH 1/1 arm: trats: Power down core 1

In reply to Piotr Wilczek

Dear Piotr Wilczek,

Quoted 9 lines · Piotr Wilczek

This patch turns power down for unused core 1

---
 board/samsung/trats/trats.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

applied to u-boot-samsung.

Thanks.
Minkyu Kang.

Signature · 2 lines
from. prom.
www.promsoft.net