]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
odroid: fix g2d sclk rate
authorJoonyoung Shim <jy0922.shim@samsung.com>
Fri, 23 Jan 2015 08:30:07 +0000 (17:30 +0900)
committerMinkyu Kang <mk7.kang@samsung.com>
Fri, 13 Feb 2015 08:19:48 +0000 (17:19 +0900)
G2D core should be provided 200MHz clock rate.

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
board/samsung/odroid/odroid.c

index 306cc0f9d9624e32228ad1e4bea25bc8e0224fb1..bff6ac928ca4ce376b0ce278194f022fbc9b07f7 100644 (file)
@@ -248,12 +248,12 @@ static void board_clock_init(void)
         * MOUTc2c = 800 Mhz
         * MOUTpwi = 108 MHz
         *
-        * sclk_g2d_acp = MOUTg2d / (ratio + 1) = 400 (1)
+        * sclk_g2d_acp = MOUTg2d / (ratio + 1) = 200 (3)
         * sclk_c2c = MOUTc2c / (ratio + 1) = 400 (1)
         * aclk_c2c = sclk_c2c / (ratio + 1) = 200 (1)
         * sclk_pwi = MOUTpwi / (ratio + 1) = 18 (5)
         */
-       set = G2D_ACP_RATIO(1) | C2C_RATIO(1) | PWI_RATIO(5) |
+       set = G2D_ACP_RATIO(3) | C2C_RATIO(1) | PWI_RATIO(5) |
              C2C_ACLK_RATIO(1) | DVSEM_RATIO(1) | DPM_RATIO(1);
 
        clrsetbits_le32(&clk->div_dmc1, clr, set);