rk3066: uart0 auto support 3M
authorchenxing <chenxing@chenxing-ubuntu-pc.(none)>
Fri, 21 Dec 2012 10:26:29 +0000 (18:26 +0800)
committerchenxing <chenxing@chenxing-ubuntu-pc.(none)>
Fri, 21 Dec 2012 10:26:29 +0000 (18:26 +0800)
arch/arm/mach-rk30/clock_data.c

index 7cc75edab365857d49fafb15a489e234ebe5c356..0148e033546c1b7e931f3c25c510f079213ff216 100755 (executable)
@@ -3371,10 +3371,7 @@ static void __init rk30_clock_common_init(unsigned long gpll_rate,unsigned long
        //gpu auto sel
        //clk_set_parent_nolock(&clk_gpu, &general_pll_clk);
        
-       clk_set_parent_nolock(&clk_uart_pll, &general_pll_clk);
-       clk_set_rate_nolock(&clk_uart0_div, 297 * MHZ);
-       clk_set_parent_nolock(&clk_uart0, &clk_uart0_div);
-
+       clk_set_rate_nolock(&clk_uart0, 49500000);
 }
 
 static struct clk def_ops_clk={