soc/amd/common/block/apob: Fix incorrect printf format

The %p format specifier already prints out 0x, so remove the 0x from the
string. I also updated the other format specifiers to use the %# syntax
to print out the 0x.

BUG=b:179699789
TEST=see correct format.

Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Change-Id: I5b00d2c06687e549f69486eb5e18f7bed560b2ec
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56225
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Raul E Rangel 2021-07-12 09:50:49 -06:00 committed by Raul Rangel
parent a24472a7f8
commit 72240430cf
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ void soc_update_apob_cache(void)
return; return;
} }
printk(BIOS_SPEW, "Copy APOB from RAM 0x%p/0x%x to flash 0x%zx/0x%zx\n", printk(BIOS_SPEW, "Copy APOB from RAM %p/%#x to flash %#zx/%#zx\n",
apob_src_ram, apob_src_ram->size, apob_src_ram, apob_src_ram->size,
region_offset(&region), region_sz(&region)); region_offset(&region), region_sz(&region));