Skip to contentSkip to conversation

SMDKV310: CPU fequency and mmc_pre_ratio modified

PATCH New Chander Kashyap 3 participants 3 messages May 26, 2011 – Jun 1, 2011 Arm/actions semi architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 SMDKV310: CPU fequency and mmc_pre_ratio modified

Modifies CPU Frequency to 1GHz and removes hard coding of mmc_pre_ratio for MMC Channel2 in FSYS2 register.

---
 board/samsung/smdkv310/lowlevel_init.S |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
board/samsung/smdkv310/lowlevel_init.S +2 -2
index 359cff4..04f6579 100644
@@ -170,7 +170,7 @@ system_clock_init:
 	 * COREM1_RATIO[8]	0x7
 	 * COREM0_RATIO[4]	0x3
 	 */
-	ldr	r1, =0x01133730
+	ldr	r1, =0x0133730
 	ldr	r2, =0x14500			@CLK_DIV_CPU0_OFFSET
 	str	r1, [r0, r2]
 
@@ -245,7 +245,7 @@ system_clock_init:
 	str	r1, [r0, r2]
 
 	/* MMC[2:3] */
-	ldr	r1, =0x000f020f			/* 800(MPLL) / (15 + 1) */
+	ldr	r1, =0x000f000f			/* 800(MPLL) / (15 + 1) */
 	ldr	r2, =0x0C548			@ CLK_DIV_FSYS2
 	str	r1, [r0, r2]
 
Signature · 1 line
1.7.4.1
#1 lore raw

PATCH 1/1 SMDKV310: CPU fequency and mmc_pre_ratio modified

Quoted 8 lines · Chander Kashyap

Modifies CPU Frequency to 1GHz and removes hard coding of mmc_pre_ratio for MMC Channel2 in FSYS2 register.

---
?board/samsung/smdkv310/lowlevel_init.S | ? ?4 ++-- ?1 files changed, 2 insertions(+), 2 deletions(-)

Dear Albert ARIBAUD,

This patch is for bugfix.
Please apply it to arm tree directly.

Thanks
Minkyu Kang

Signature · 2 lines
from. prom.
www.promsoft.net
#2 lore raw

PATCH 1/1 SMDKV310: CPU fequency and mmc_pre_ratio modified

In reply to Chander Kashyap

Hi Chander,

Le 26/05/2011 13:10, Chander Kashyap a ?crit :

Quoted 7 lines

Modifies CPU Frequency to 1GHz and removes hard coding of mmc_pre_ratio for MMC Channel2 in FSYS2 register.

---
  board/samsung/smdkv310/lowlevel_init.S |    4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)

Upon Minkyu's request: applied to u-boot-arm/master, thanks!

Amicalement,

Signature · 1 line
Albert.