summaryrefslogtreecommitdiff
path: root/src/northbridge
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2022-02-25 10:05:22 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-09-29 13:41:46 +0000
commit712c70b35739c9eb75bd6e6847710f14b0940ec2 (patch)
treeb50d408f7b11e2f4a26fe6e832de201823483e84 /src/northbridge
parent3cd00dbb3e04e8ad78da1d20be9acae6aeef799a (diff)
nb/intel/i945/raminit.c: Use read32p()
Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Change-Id: Ic0361e5d928c24cfe7dc0a8b0385fbe73d906b15 Reviewed-on: https://review.coreboot.org/c/coreboot/+/62365 Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Petr Cvek <petrcvekcz@gmail.com> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/northbridge')
-rw-r--r--src/northbridge/intel/i945/raminit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/northbridge/intel/i945/raminit.c b/src/northbridge/intel/i945/raminit.c
index b100c8f114..ee5c54166e 100644
--- a/src/northbridge/intel/i945/raminit.c
+++ b/src/northbridge/intel/i945/raminit.c
@@ -74,7 +74,7 @@ static void ram_read32(uintptr_t offset)
{
PRINTK_DEBUG(" RAM read: %08x\n", offset);
- read32((void *)offset);
+ read32p(offset);
}
void sdram_dump_mchbar_registers(void)