summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/drivers/elog/elog.c4
-rw-r--r--src/lib/Makefile.inc1
2 files changed, 3 insertions, 2 deletions
diff --git a/src/drivers/elog/elog.c b/src/drivers/elog/elog.c
index 1c175614c5..c8f221ac0b 100644
--- a/src/drivers/elog/elog.c
+++ b/src/drivers/elog/elog.c
@@ -324,8 +324,8 @@ static void elog_nv_write(size_t offset, size_t size)
address = rdev_mmap(rdev, offset, size);
- elog_debug("%s(address=0x%p offset=0x%08x size=%u)\n", __func__,
- address, offset, size);
+ elog_debug("%s(address=0x%p offset=0x%08zx size=%zu)\n", __func__,
+ address, offset, size);
if (address == NULL)
return;
diff --git a/src/lib/Makefile.inc b/src/lib/Makefile.inc
index 778bea8165..dfb23b625b 100644
--- a/src/lib/Makefile.inc
+++ b/src/lib/Makefile.inc
@@ -165,6 +165,7 @@ bootblock-y += hexdump.c
ramstage-y += hexdump.c
romstage-y += hexdump.c
verstage-y += hexdump.c
+smm-y += hexdump.c
bootblock-$(CONFIG_REG_SCRIPT) += reg_script.c
verstage-$(CONFIG_REG_SCRIPT) += reg_script.c