diff options
Diffstat (limited to 'src/soc/cavium/cn81xx/clock.c')
-rw-r--r-- | src/soc/cavium/cn81xx/clock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/cavium/cn81xx/clock.c b/src/soc/cavium/cn81xx/clock.c index e415a854ab..0aafefc7e4 100644 --- a/src/soc/cavium/cn81xx/clock.c +++ b/src/soc/cavium/cn81xx/clock.c @@ -46,7 +46,7 @@ u64 thunderx_get_io_clock(void) { union cavm_rst_boot rst_boot; - rst_boot.u = read64((void *)RST_PF_BAR0); + rst_boot.u = read64p(RST_PF_BAR0); return ((u64)rst_boot.s.pnr_mul) * PLL_REF_CLK; } @@ -58,7 +58,7 @@ u64 thunderx_get_core_clock(void) { union cavm_rst_boot rst_boot; - rst_boot.u = read64((void *)RST_PF_BAR0); + rst_boot.u = read64p(RST_PF_BAR0); return ((u64)rst_boot.s.c_mul) * PLL_REF_CLK; } |