mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-12-10 06:32:11 -05:00
uart_clk on Rt3352F is always 40MHz
Currently, sys_clk/10 is used which is just wrong. cpu_clk/10 would work for systems with 400MHz CPU clock. Signed-off-by: Daniel Golle <dgolle@allnet.de> SVN-Revision: 32812
This commit is contained in:
parent
cb0eccf529
commit
6641024f50
@ -60,7 +60,7 @@ void __init rt305x_clocks_init(void)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
rt305x_sys_clk.rate = rt305x_cpu_clk.rate / 3;
|
rt305x_sys_clk.rate = rt305x_cpu_clk.rate / 3;
|
||||||
rt305x_uart_clk.rate = rt305x_sys_clk.rate / 10;
|
rt305x_uart_clk.rate = 40000000;
|
||||||
rt305x_wdt_clk.rate = rt305x_sys_clk.rate;
|
rt305x_wdt_clk.rate = rt305x_sys_clk.rate;
|
||||||
} else {
|
} else {
|
||||||
BUG();
|
BUG();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user