diff options
author | Subrata Banik <subratabanik@google.com> | 2023-03-06 08:18:24 +0000 |
---|---|---|
committer | Subrata Banik <subratabanik@google.com> | 2023-03-07 11:41:55 +0000 |
commit | 059370898cd7d4fdd21538c187a219ea72ad36ce (patch) | |
tree | 2b904249a18af85cd2220eacb3bd17014874b756 | |
parent | 6538464e2f404ff5fcf28c29f032fac0f1668b85 (diff) |
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 <subratabanik@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/73490
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Reviewed-by: Ivy Jian <ivy.jian@quanta.corp-partner.google.com>
Reviewed-by: Dinesh Gehlot <digehlot@google.com>
-rw-r--r-- | src/drivers/intel/fsp2_0/memory_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |