diff options
Diffstat (limited to 'arch/mips/alchemy/common/clocks.c')
-rw-r--r-- | arch/mips/alchemy/common/clocks.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/mips/alchemy/common/clocks.c b/arch/mips/alchemy/common/clocks.c index 460c6285c1bb..af0fe41055af 100644 --- a/arch/mips/alchemy/common/clocks.c +++ b/arch/mips/alchemy/common/clocks.c | |||
@@ -89,11 +89,7 @@ unsigned long au1xxx_calc_clock(void) | |||
89 | * over backwards trying to determine the frequency. | 89 | * over backwards trying to determine the frequency. |
90 | */ | 90 | */ |
91 | if (au1xxx_cpu_has_pll_wo()) | 91 | if (au1xxx_cpu_has_pll_wo()) |
92 | #ifdef CONFIG_SOC_AU1000_FREQUENCY | ||
93 | cpu_speed = CONFIG_SOC_AU1000_FREQUENCY; | ||
94 | #else | ||
95 | cpu_speed = 396000000; | 92 | cpu_speed = 396000000; |
96 | #endif | ||
97 | else | 93 | else |
98 | cpu_speed = (au_readl(SYS_CPUPLL) & 0x0000003f) * AU1000_SRC_CLK; | 94 | cpu_speed = (au_readl(SYS_CPUPLL) & 0x0000003f) * AU1000_SRC_CLK; |
99 | 95 | ||