nb/intel/pineview: Use read32p()
Change-Id: Ie2b1131d7db4b81bd6eb2df7a5ba8a6e8b54539b Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/70289 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
parent
9a83eae71e
commit
a361d35b8d
|
@ -1641,7 +1641,7 @@ sdram_jedec(struct sysinfo *s, u8 rank, u8 jmode, u16 jval)
|
||||||
reg32 = jval << 3;
|
reg32 = jval << 3;
|
||||||
reg32 |= rank * (1 << 27);
|
reg32 |= rank * (1 << 27);
|
||||||
mchbar_clrsetbits8(C0JEDEC, 0x3e, jmode);
|
mchbar_clrsetbits8(C0JEDEC, 0x3e, jmode);
|
||||||
read32((void *)reg32);
|
read32p(reg32);
|
||||||
barrier();
|
barrier();
|
||||||
hpet_udelay(1); // 1us
|
hpet_udelay(1); // 1us
|
||||||
}
|
}
|
||||||
|
@ -1849,7 +1849,7 @@ static u8 sampledqs(u32 dqshighaddr, u32 strobeaddr, u8 highlow, u8 count)
|
||||||
mchbar_setbits8(C0RSTCTL, 1 << 1);
|
mchbar_setbits8(C0RSTCTL, 1 << 1);
|
||||||
hpet_udelay(1);
|
hpet_udelay(1);
|
||||||
barrier();
|
barrier();
|
||||||
read32((void *)strobeaddr);
|
read32p(strobeaddr);
|
||||||
barrier();
|
barrier();
|
||||||
hpet_udelay(1);
|
hpet_udelay(1);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue