diff options
-rw-r--r-- | src/northbridge/intel/pineview/raminit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/northbridge/intel/pineview/raminit.c b/src/northbridge/intel/pineview/raminit.c index eda3a65f43..3699173ea0 100644 --- a/src/northbridge/intel/pineview/raminit.c +++ b/src/northbridge/intel/pineview/raminit.c @@ -1641,7 +1641,7 @@ sdram_jedec(struct sysinfo *s, u8 rank, u8 jmode, u16 jval) reg32 = jval << 3; reg32 |= rank * (1 << 27); mchbar_clrsetbits8(C0JEDEC, 0x3e, jmode); - read32((void *)reg32); + read32p(reg32); barrier(); hpet_udelay(1); // 1us } @@ -1849,7 +1849,7 @@ static u8 sampledqs(u32 dqshighaddr, u32 strobeaddr, u8 highlow, u8 count) mchbar_setbits8(C0RSTCTL, 1 << 1); hpet_udelay(1); barrier(); - read32((void *)strobeaddr); + read32p(strobeaddr); barrier(); hpet_udelay(1); |