summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/soc/mediatek/common/include/soc/msdc.h1
-rw-r--r--src/soc/mediatek/common/msdc.c1
-rw-r--r--src/soc/mediatek/mt8173/include/soc/dramc_pi_api.h1
-rw-r--r--src/soc/mediatek/mt8183/i2c.c1
-rw-r--r--src/soc/mediatek/mt8183/include/soc/dramc_pi_api.h1
-rw-r--r--src/soc/mediatek/mt8192/i2c.c1
6 files changed, 4 insertions, 2 deletions
diff --git a/src/soc/mediatek/common/include/soc/msdc.h b/src/soc/mediatek/common/include/soc/msdc.h
index 798b0f61fe..0f8ba7ad46 100644
--- a/src/soc/mediatek/common/include/soc/msdc.h
+++ b/src/soc/mediatek/common/include/soc/msdc.h
@@ -4,6 +4,7 @@
#define SOC_MEDIATEK_COMMON_MSDC_H
#include <commonlib/sd_mmc_ctrlr.h>
+#include <console/console.h>
/*------------------------------*/
/* Register Offset */
diff --git a/src/soc/mediatek/common/msdc.c b/src/soc/mediatek/common/msdc.c
index a5a8a6bbd9..8208886c20 100644
--- a/src/soc/mediatek/common/msdc.c
+++ b/src/soc/mediatek/common/msdc.c
@@ -6,6 +6,7 @@
#include <cbmem.h>
#include <commonlib/bsd/helpers.h>
#include <commonlib/storage/sd_mmc.h>
+#include <console/console.h>
#include <delay.h>
#include <device/mmio.h>
#include <lib.h>
diff --git a/src/soc/mediatek/mt8173/include/soc/dramc_pi_api.h b/src/soc/mediatek/mt8173/include/soc/dramc_pi_api.h
index 8ead39208a..8eb58d0451 100644
--- a/src/soc/mediatek/mt8173/include/soc/dramc_pi_api.h
+++ b/src/soc/mediatek/mt8173/include/soc/dramc_pi_api.h
@@ -6,7 +6,6 @@
#include <soc/dramc_common.h>
#include <soc/dramc_soc.h>
#include <soc/emi.h>
-#include <console/console.h>
enum {
MAX_CLKO_DELAY = 15
diff --git a/src/soc/mediatek/mt8183/i2c.c b/src/soc/mediatek/mt8183/i2c.c
index 193f4b912b..1aaa236dd5 100644
--- a/src/soc/mediatek/mt8183/i2c.c
+++ b/src/soc/mediatek/mt8183/i2c.c
@@ -1,6 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <assert.h>
+#include <console/console.h>
#include <device/mmio.h>
#include <soc/i2c.h>
#include <soc/gpio.h>
diff --git a/src/soc/mediatek/mt8183/include/soc/dramc_pi_api.h b/src/soc/mediatek/mt8183/include/soc/dramc_pi_api.h
index 5ee6300efb..707c867409 100644
--- a/src/soc/mediatek/mt8183/include/soc/dramc_pi_api.h
+++ b/src/soc/mediatek/mt8183/include/soc/dramc_pi_api.h
@@ -6,7 +6,6 @@
#include <types.h>
#include <soc/dramc_common.h>
#include <soc/emi.h>
-#include <console/console.h>
#define DATLAT_TAP_NUMBER 32
#define HW_REG_SHUFFLE_MAX 4
diff --git a/src/soc/mediatek/mt8192/i2c.c b/src/soc/mediatek/mt8192/i2c.c
index 5f1e3a03f3..6d888334ef 100644
--- a/src/soc/mediatek/mt8192/i2c.c
+++ b/src/soc/mediatek/mt8192/i2c.c
@@ -1,6 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <assert.h>
+#include <console/console.h>
#include <device/mmio.h>
#include <soc/i2c.h>
#include <soc/gpio.h>