SMDKV310: CPU fequency and mmc_pre_ratio modified
authorChander Kashyap <chander.kashyap@linaro.org>
Thu, 26 May 2011 01:10:34 +0000 (01:10 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Wed, 1 Jun 2011 17:41:32 +0000 (19:41 +0200)
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@linaro.org>
Acked-by: Minkyu Kang <mk7.kang@samsung.com>
board/samsung/smdkv310/lowlevel_init.S

index 359cff4ad4dae23c32d7cf784dcfc31c2fe38e2e..04f657947a6bbf152ce2dae2d3fb4218bf26fa5f 100644 (file)
@@ -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]