summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/soc/intel/elkhartlake/meminit.c2
-rw-r--r--src/soc/intel/jasperlake/meminit.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/elkhartlake/meminit.c b/src/soc/intel/elkhartlake/meminit.c
index d6de9a4046..fd64c7d3e5 100644
--- a/src/soc/intel/elkhartlake/meminit.c
+++ b/src/soc/intel/elkhartlake/meminit.c
@@ -12,7 +12,7 @@ static void spd_read_from_cbfs(const struct spd_info *spd_info, uintptr_t *spd_d
{
size_t spd_index = spd_info->spd_spec.spd_index;
- printk(BIOS_DEBUG, "SPD INDEX = %lu\n", spd_index);
+ printk(BIOS_DEBUG, "SPD INDEX = %zu\n", spd_index);
/* Memory leak is ok since we have memory mapped boot media */
assert(CONFIG(BOOT_DEVICE_MEMORY_MAPPED));
diff --git a/src/soc/intel/jasperlake/meminit.c b/src/soc/intel/jasperlake/meminit.c
index 9ec1ffa82d..9cf5ecba67 100644
--- a/src/soc/intel/jasperlake/meminit.c
+++ b/src/soc/intel/jasperlake/meminit.c
@@ -12,7 +12,7 @@ static void spd_read_from_cbfs(const struct spd_info *spd_info, uintptr_t *spd_d
{
size_t spd_index = spd_info->spd_spec.spd_index;
- printk(BIOS_DEBUG, "SPD INDEX = %lu\n", spd_index);
+ printk(BIOS_DEBUG, "SPD INDEX = %zu\n", spd_index);
/* Memory leak is ok since we have memory mapped boot media */
assert(CONFIG(BOOT_DEVICE_MEMORY_MAPPED));