summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2022-02-18 13:06:59 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-02-21 15:27:35 +0000
commit138db0601d4e023a6b1fb8cbf67f9b7f10859288 (patch)
treece80b2bc4c81bd5004ec3610af6030619c093568
parent4998aaee230f2069699d45200ffdcdb934521c4a (diff)
downloadcoreboot-138db0601d4e023a6b1fb8cbf67f9b7f10859288.tar.gz
coreboot-138db0601d4e023a6b1fb8cbf67f9b7f10859288.tar.bz2
coreboot-138db0601d4e023a6b1fb8cbf67f9b7f10859288.zip
soc/intel/adl/bootblock/report_platform.c: Use the correct format
Change-Id: I54c40434f44621c4ea6564ac9c87c5b2fa083b5d Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/62176 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
-rw-r--r--src/soc/intel/alderlake/bootblock/report_platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/alderlake/bootblock/report_platform.c b/src/soc/intel/alderlake/bootblock/report_platform.c
index 8902adffce39..6b526f12efa4 100644
--- a/src/soc/intel/alderlake/bootblock/report_platform.c
+++ b/src/soc/intel/alderlake/bootblock/report_platform.c
@@ -150,7 +150,7 @@ static void report_cache_info(void)
printk(BIOS_INFO, "Associativity = %zd Partitions = %zd Line Size = %zd Sets = %zd\n",
info.num_ways, info.physical_partitions, info.line_size, info.num_sets);
- printk(BIOS_INFO, "Cache size = %ld MiB\n", get_cache_size(&info)/MiB);
+ printk(BIOS_INFO, "Cache size = %zu MiB\n", get_cache_size(&info)/MiB);
}
static void report_cpu_info(void)