From 421f1ee294e2a68872474869bbeb151cb36c94c8 Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Sat, 3 Dec 2022 13:26:05 +0100 Subject: nb/intel/e7505: Use read32p() Change-Id: I78337cf822cfae177b9ef3040641057a84e90e15 Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/70286 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- src/northbridge/intel/e7505/raminit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/northbridge/intel') diff --git a/src/northbridge/intel/e7505/raminit.c b/src/northbridge/intel/e7505/raminit.c index 2b81d37d59..892bfadd23 100644 --- a/src/northbridge/intel/e7505/raminit.c +++ b/src/northbridge/intel/e7505/raminit.c @@ -659,7 +659,7 @@ static void do_ram_command(uint8_t command, uint16_t jedec_mode_bits) if (dimm_end_64M_multiple > dimm_start_64M_multiple) { dimm_start_address &= 0x3ffffff; dimm_start_address |= dimm_start_64M_multiple << 26; - read32((void *)dimm_start_address); + read32p(dimm_start_address); // Set the start of the next DIMM dimm_start_64M_multiple = dimm_end_64M_multiple; } -- cgit v1.2.3