From 059370898cd7d4fdd21538c187a219ea72ad36ce Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Mon, 6 Mar 2023 08:18:24 +0000 Subject: [PATCH] drivers/intel/fsp2_0: Print `mrc_cache` size in decimal This patch updates the print msg of mrc_cache size from hex to decimal for easier understanding while debugging the issue. TEST=Able to build and boot google/rex. Without this patch: [SPEW ] MRC cache found, size ee75 With this patch: [SPEW ] MRC cache found, size 61045 bytes Change-Id: I69feeb36423e47a5992c9f27d9a7042803a492cd Signed-off-by: Subrata Banik Reviewed-on: https://review.coreboot.org/c/coreboot/+/73490 Tested-by: build bot (Jenkins) Reviewed-by: Eric Lai Reviewed-by: Ivy Jian Reviewed-by: Dinesh Gehlot --- src/drivers/intel/fsp2_0/memory_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/intel/fsp2_0/memory_init.c b/src/drivers/intel/fsp2_0/memory_init.c index 740b9c63f8..dcb44f6a18 100644 --- a/src/drivers/intel/fsp2_0/memory_init.c +++ b/src/drivers/intel/fsp2_0/memory_init.c @@ -86,7 +86,7 @@ static void fsp_fill_mrc_cache(FSPM_ARCH_UPD *arch_upd, uint32_t fsp_version) /* MRC cache found */ arch_upd->NvsBufferPtr = (uintptr_t)data; - printk(BIOS_SPEW, "MRC cache found, size %zx\n", mrc_size); + printk(BIOS_SPEW, "MRC cache found, size %zu bytes\n", mrc_size); } static enum cb_err check_region_overlap(const struct memranges *ranges,