summaryrefslogtreecommitdiff
path: root/src/northbridge
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2022-10-04 14:16:09 +0200
committerMartin Roth <martin.roth@amd.corp-partner.google.com>2022-10-10 21:52:16 +0000
commite8bb6d2b16acbe4c583905d17c32172938006100 (patch)
treedf4247f44f1b4fb0d5232d2c1d4abe97ddc632aa /src/northbridge
parent89d6d2b82c2515cd3d7aa6aec40b951fe33a4ec8 (diff)
nb/intel/i945/raminit.c: Fix formatted print
Change-Id: I7122988a1c88175a2e72c11bb95bfa434ce48ff2 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/68104 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
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 0a4794ab90..35875be372 100644
--- a/src/northbridge/intel/i945/raminit.c
+++ b/src/northbridge/intel/i945/raminit.c
@@ -74,7 +74,7 @@ static __attribute__((noinline)) void do_ram_command(u32 command)
static void ram_read32(uintptr_t offset)
{
- PRINTK_DEBUG(" RAM read: %08x\n", offset);
+ PRINTK_DEBUG(" RAM read: %" PRIxPTR "\n", offset);
read32p(offset);
}