summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/mediatek/common/i2c.c1
-rw-r--r--src/soc/mediatek/mt8183/spm.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/mediatek/common/i2c.c b/src/soc/mediatek/common/i2c.c
index e58bb9c4ea..1ca55ae717 100644
--- a/src/soc/mediatek/common/i2c.c
+++ b/src/soc/mediatek/common/i2c.c
@@ -15,6 +15,7 @@
#include <string.h>
#include <assert.h>
+#include <console/console.h>
#include <delay.h>
#include <timer.h>
#include <symbols.h>
diff --git a/src/soc/mediatek/mt8183/spm.c b/src/soc/mediatek/mt8183/spm.c
index 669970fb2f..9a08782953 100644
--- a/src/soc/mediatek/mt8183/spm.c
+++ b/src/soc/mediatek/mt8183/spm.c
@@ -15,6 +15,7 @@
#include <assert.h>
#include <cbfs.h>
+#include <console/console.h>
#include <delay.h>
#include <device/mmio.h>
#include <endian.h>