nb/intel/i945/rcven.c: Use read32p()

Tested on unsupported mainboard (945g-m4).

Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Change-Id: I1935308cc50abd651b52d6290d66180905c6a521
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68087
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
This commit is contained in:
Elyes Haouas 2022-10-03 15:40:00 +02:00 committed by Felix Held
parent 52163149b4
commit 60bdb327c6
1 changed files with 2 additions and 2 deletions

View File

@ -29,8 +29,8 @@ static u32 sample_strobes(int channel_offset, struct sys_info *sysinfo)
}
for (i = 0; i < 28; i++) {
read32((void *)addr);
read32((void *)(addr + 0x80));
read32p(addr);
read32p(addr + 0x80);
}
reg32 = mchbar_read32(RCVENMT);