[U-Boot] [PATCH] SMDKV310: CPU fequency and mmc_pre_ratio modified

Chander Kashyap chander.kashyap at linaro.org
Thu May 26 13:10:34 CEST 2011


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

Signed-off-by: Chander Kashyap <chander.kashyap at linaro.org>
---
 board/samsung/smdkv310/lowlevel_init.S |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/board/samsung/smdkv310/lowlevel_init.S b/board/samsung/smdkv310/lowlevel_init.S
index 359cff4..04f6579 100644
--- a/board/samsung/smdkv310/lowlevel_init.S
+++ b/board/samsung/smdkv310/lowlevel_init.S
@@ -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]
 
-- 
1.7.4.1



More information about the U-Boot mailing list