Elyes Haouas has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/83216?usp=email )
Change subject: nb/intel/i945/{raminit,rcven}: Remove unnecessary hidden cast to (void *) ......................................................................
nb/intel/i945/{raminit,rcven}: Remove unnecessary hidden cast to (void *)
Change-Id: Ie3613fb917591f9dc6495a961c6f8c4dc8c7fdcc Signed-off-by: Elyes Haouas ehaouas@noos.fr --- M src/northbridge/intel/i945/raminit.c M src/northbridge/intel/i945/rcven.c 2 files changed, 3 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/16/83216/1
diff --git a/src/northbridge/intel/i945/raminit.c b/src/northbridge/intel/i945/raminit.c index a37754b..6894be7 100644 --- a/src/northbridge/intel/i945/raminit.c +++ b/src/northbridge/intel/i945/raminit.c @@ -76,7 +76,7 @@ { PRINTK_DEBUG(" RAM read: %" PRIxPTR "\n", offset);
- read32p(offset); + read32(offset); }
void sdram_dump_mchbar_registers(void) diff --git a/src/northbridge/intel/i945/rcven.c b/src/northbridge/intel/i945/rcven.c index 024a263..f263e0e 100644 --- a/src/northbridge/intel/i945/rcven.c +++ b/src/northbridge/intel/i945/rcven.c @@ -29,8 +29,8 @@ }
for (i = 0; i < 28; i++) { - read32p(addr); - read32p(addr + 0x80); + read32(addr); + read32(addr + 0x80); }
reg32 = mchbar_read32(RCVENMT);