mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
ramips: rt305x: rename SYSTEM_CONFIG_* defines to RT305X_SYSCFG_*
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30889 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -33,13 +33,13 @@ void __init rt305x_clocks_init(void)
|
||||
u32 t;
|
||||
|
||||
t = rt305x_sysc_rr(SYSC_REG_SYSTEM_CONFIG);
|
||||
t = ((t >> SYSTEM_CONFIG_CPUCLK_SHIFT) & SYSTEM_CONFIG_CPUCLK_MASK);
|
||||
t = ((t >> RT305X_SYSCFG_CPUCLK_SHIFT) & RT305X_SYSCFG_CPUCLK_MASK);
|
||||
|
||||
switch (t) {
|
||||
case SYSTEM_CONFIG_CPUCLK_320:
|
||||
case RT305X_SYSCFG_CPUCLK_LOW:
|
||||
rt305x_cpu_clk.rate = 320000000;
|
||||
break;
|
||||
case SYSTEM_CONFIG_CPUCLK_384:
|
||||
case RT305X_SYSCFG_CPUCLK_HIGH:
|
||||
rt305x_cpu_clk.rate = 384000000;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user