From 86cf75acfb3e86bee656d3a5185d3be62c9fc1e3 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Sun, 14 Feb 2021 20:09:29 +0100 Subject: soc/mediatek: Remove unused MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Found using: diff <(git grep -l '#include ' -- src/) <(git grep -l 'STRINGIFY\|memcpy\|memmove\|memset\|memcmp\|memchr\|strdup\|strconcat\|strnlen\|strlen\|strchr\|strncpy\|strcpy\|strcmp\|strncmp\|strspn\|strcspn\|strstr\|strtok_r\|strtok\|atol\|strrchr\|skip_atoi\|snprintf' -- src/)|grep '<' Change-Id: I7706ffe6f82e3ae2c61cacbea12d94aca48757d8 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/50689 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki --- src/soc/mediatek/mt8192/dramc_pi_basic_api.c | 1 - src/soc/mediatek/mt8192/dramc_pi_calibration_api.c | 1 - src/soc/mediatek/mt8192/pmif.c | 1 - src/soc/mediatek/mt8192/pmif_spmi.c | 1 - 4 files changed, 4 deletions(-) (limited to 'src/soc/mediatek') diff --git a/src/soc/mediatek/mt8192/dramc_pi_basic_api.c b/src/soc/mediatek/mt8192/dramc_pi_basic_api.c index af1410bedf..996dff88ed 100644 --- a/src/soc/mediatek/mt8192/dramc_pi_basic_api.c +++ b/src/soc/mediatek/mt8192/dramc_pi_basic_api.c @@ -4,7 +4,6 @@ #include #include #include -#include #include static const u8 mrr_o1_pinmux_mapping[PINMUX_MAX][CHANNEL_MAX][DQ_DATA_WIDTH] = { diff --git a/src/soc/mediatek/mt8192/dramc_pi_calibration_api.c b/src/soc/mediatek/mt8192/dramc_pi_calibration_api.c index e4dc896829..5c6d94dbad 100644 --- a/src/soc/mediatek/mt8192/dramc_pi_calibration_api.c +++ b/src/soc/mediatek/mt8192/dramc_pi_calibration_api.c @@ -2,7 +2,6 @@ #include #include -#include static const u8 imp_vref_sel[ODT_MAX][IMP_DRV_MAX] = { /* DRVP DRVN ODTP ODTN */ diff --git a/src/soc/mediatek/mt8192/pmif.c b/src/soc/mediatek/mt8192/pmif.c index 57fc9d4a3f..a7ab4e5fa5 100644 --- a/src/soc/mediatek/mt8192/pmif.c +++ b/src/soc/mediatek/mt8192/pmif.c @@ -9,7 +9,6 @@ #include #include #include -#include #include static int pmif_check_swinf(struct pmif *arb, long timeout_us, u32 expected_status) diff --git a/src/soc/mediatek/mt8192/pmif_spmi.c b/src/soc/mediatek/mt8192/pmif_spmi.c index 87b003bd3f..f30e965780 100644 --- a/src/soc/mediatek/mt8192/pmif_spmi.c +++ b/src/soc/mediatek/mt8192/pmif_spmi.c @@ -9,7 +9,6 @@ #include #include #include -#include #define PMIF_CMD_PER_3 (0x1 << PMIF_CMD_EXT_REG_LONG) #define PMIF_CMD_PER_1_3 ((0x1 << PMIF_CMD_REG) | (0x1 << PMIF_CMD_EXT_REG_LONG)) -- cgit v1.2.3