aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2021-12-31 18:30:02 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-01-10 17:40:55 +0000
commit872afccbb9360e1a18e242f86296e0ffdc7aa39e (patch)
tree4b1c1646dafd82e45e6d21641a0edb6345559d67
parent60b0034991b399f890702d4168a01e20bb92818e (diff)
src/soc/mediatek: Remove unused <timer.h>
Change-Id: Ic87e41a9b317cc7d0b36ece5ffd1d32068e6a33a Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60612 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
-rw-r--r--src/soc/mediatek/common/spm.c1
-rw-r--r--src/soc/mediatek/mt8186/i2c.c1
-rw-r--r--src/soc/mediatek/mt8195/dp_intf.c1
-rw-r--r--src/soc/mediatek/mt8195/dptx.c1
-rw-r--r--src/soc/mediatek/mt8195/dptx_hal.c1
-rw-r--r--src/soc/mediatek/mt8195/i2c.c1
6 files changed, 0 insertions, 6 deletions
diff --git a/src/soc/mediatek/common/spm.c b/src/soc/mediatek/common/spm.c
index 48f75fe661..c4eabd0dcf 100644
--- a/src/soc/mediatek/common/spm.c
+++ b/src/soc/mediatek/common/spm.c
@@ -6,7 +6,6 @@
#include <soc/spm.h>
#include <soc/spm_common.h>
#include <string.h>
-#include <timer.h>
#define SPMFW_HEADER_SIZE 16
diff --git a/src/soc/mediatek/mt8186/i2c.c b/src/soc/mediatek/mt8186/i2c.c
index a7f72acf2a..8345637008 100644
--- a/src/soc/mediatek/mt8186/i2c.c
+++ b/src/soc/mediatek/mt8186/i2c.c
@@ -11,7 +11,6 @@
#include <device/i2c_simple.h>
#include <soc/i2c.h>
#include <soc/gpio.h>
-#include <timer.h>
struct mtk_i2c mtk_i2c_bus_controller[] = {
[0] = {
diff --git a/src/soc/mediatek/mt8195/dp_intf.c b/src/soc/mediatek/mt8195/dp_intf.c
index 5a5f97457b..aba7d7865c 100644
--- a/src/soc/mediatek/mt8195/dp_intf.c
+++ b/src/soc/mediatek/mt8195/dp_intf.c
@@ -9,7 +9,6 @@
#include <soc/pll.h>
#include <soc/pll_common.h>
#include <soc/spm.h>
-#include <timer.h>
static void mtk_dpintf_mask(struct mtk_dpintf *dpintf, u32 offset, u32 val, u32 mask)
{
diff --git a/src/soc/mediatek/mt8195/dptx.c b/src/soc/mediatek/mt8195/dptx.c
index 8d557ba910..edb3f7ef3a 100644
--- a/src/soc/mediatek/mt8195/dptx.c
+++ b/src/soc/mediatek/mt8195/dptx.c
@@ -11,7 +11,6 @@
#include <soc/dptx_reg.h>
#include <soc/dp_intf.h>
#include <string.h>
-#include <timer.h>
#define ONE_BLOCK_SIZE 128
diff --git a/src/soc/mediatek/mt8195/dptx_hal.c b/src/soc/mediatek/mt8195/dptx_hal.c
index ad68260ef1..385e88cbdb 100644
--- a/src/soc/mediatek/mt8195/dptx_hal.c
+++ b/src/soc/mediatek/mt8195/dptx_hal.c
@@ -7,7 +7,6 @@
#include <soc/dptx.h>
#include <soc/dptx_hal.h>
#include <soc/dptx_reg.h>
-#include <timer.h>
#include <types.h>
#define REG_OFFSET_LIMIT 0x8000
diff --git a/src/soc/mediatek/mt8195/i2c.c b/src/soc/mediatek/mt8195/i2c.c
index b401b79960..ac8b8e5b39 100644
--- a/src/soc/mediatek/mt8195/i2c.c
+++ b/src/soc/mediatek/mt8195/i2c.c
@@ -6,7 +6,6 @@
#include <device/i2c_simple.h>
#include <soc/i2c.h>
#include <soc/gpio.h>
-#include <timer.h>
struct mtk_i2c mtk_i2c_bus_controller[] = {
[0] = {