summaryrefslogtreecommitdiff
path: root/src/northbridge
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2022-10-03 15:40:00 +0200
committerFelix Held <felix-coreboot@felixheld.de>2022-10-21 14:30:01 +0000
commit60bdb327c6d2e582b7dbca4d5b180f6f0333380e (patch)
tree9077bf82af16e010a6bf8c3235f00650031d7469 /src/northbridge
parent52163149b404cbeb1cd5e60a5c2da061b964908c (diff)
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>
Diffstat (limited to 'src/northbridge')
-rw-r--r--src/northbridge/intel/i945/rcven.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/northbridge/intel/i945/rcven.c b/src/northbridge/intel/i945/rcven.c
index 37b568a351..7d497e69a2 100644
--- a/src/northbridge/intel/i945/rcven.c
+++ b/src/northbridge/intel/i945/rcven.c
@@ -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);