diff options
Diffstat (limited to 'arch/mips/alchemy/common/time.c')
-rw-r--r-- | arch/mips/alchemy/common/time.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/alchemy/common/time.c b/arch/mips/alchemy/common/time.c index 68d714258e92..15185708ad8c 100644 --- a/arch/mips/alchemy/common/time.c +++ b/arch/mips/alchemy/common/time.c | |||
@@ -198,7 +198,7 @@ unsigned long calc_clock(void) | |||
198 | * silicon versions of Au1000 are not sold by AMD, we don't bend | 198 | * silicon versions of Au1000 are not sold by AMD, we don't bend |
199 | * over backwards trying to determine the frequency. | 199 | * over backwards trying to determine the frequency. |
200 | */ | 200 | */ |
201 | if (cur_cpu_spec[0]->cpu_pll_wo) | 201 | if (au1xxx_cpu_has_pll_wo()) |
202 | #ifdef CONFIG_SOC_AU1000_FREQUENCY | 202 | #ifdef CONFIG_SOC_AU1000_FREQUENCY |
203 | cpu_speed = CONFIG_SOC_AU1000_FREQUENCY; | 203 | cpu_speed = CONFIG_SOC_AU1000_FREQUENCY; |
204 | #else | 204 | #else |
@@ -221,7 +221,7 @@ void __init plat_time_init(void) | |||
221 | 221 | ||
222 | est_freq += 5000; /* round */ | 222 | est_freq += 5000; /* round */ |
223 | est_freq -= est_freq%10000; | 223 | est_freq -= est_freq%10000; |
224 | printk(KERN_INFO "CPU frequency %u.%02u MHz\n", | 224 | printk(KERN_INFO "(PRId %08x) @ %u.%02u MHz\n", read_c0_prid(), |
225 | est_freq / 1000000, ((est_freq % 1000000) * 100) / 1000000); | 225 | est_freq / 1000000, ((est_freq % 1000000) * 100) / 1000000); |
226 | set_au1x00_speed(est_freq); | 226 | set_au1x00_speed(est_freq); |
227 | 227 | ||