diff options
-rw-r--r-- | src/lib/ramtest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ramtest.c b/src/lib/ramtest.c index 7ac141a392..a3b2528878 100644 --- a/src/lib/ramtest.c +++ b/src/lib/ramtest.c @@ -24,7 +24,7 @@ static void phys_memory_barrier(void) #else static void write_phys(uintptr_t addr, u32 value) { - write32((void *)addr, value); + write32p(addr, value); } static void phys_memory_barrier(void) @@ -35,7 +35,7 @@ static void phys_memory_barrier(void) static u32 read_phys(uintptr_t addr) { - return read32((void *)addr); + return read32p(addr); } /** |