diff options
Diffstat (limited to 'src/soc/imgtec/pistachio/monotonic_timer.c')
-rw-r--r-- | src/soc/imgtec/pistachio/monotonic_timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/imgtec/pistachio/monotonic_timer.c b/src/soc/imgtec/pistachio/monotonic_timer.c index 6e40a39148..bbcd8a179d 100644 --- a/src/soc/imgtec/pistachio/monotonic_timer.c +++ b/src/soc/imgtec/pistachio/monotonic_timer.c @@ -35,7 +35,7 @@ static int get_count_mhz_freq(void) * frequency of 550 MHz; otherwise, the crystal is * used with a frequency of 52 MHz */ - if (read32(PISTACHIO_CLOCK_SWITCH) & + if (read32_x(PISTACHIO_CLOCK_SWITCH) & MIPS_EXTERN_PLL_BYPASS_MASK) /* Half MIPS PLL freq. */ count_mhz_freq = 275; |