diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2021-02-14 20:09:29 +0100 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2021-02-16 17:26:16 +0000 |
commit | 86cf75acfb3e86bee656d3a5185d3be62c9fc1e3 (patch) | |
tree | f87f3c6a4b9823ecdeda27cf358691bc89494e08 /src/soc/mediatek | |
parent | fe33f963667c7caa3ff47fdd10a8d055e4fe319a (diff) |
soc/mediatek: Remove unused <string.h>
Found using:
diff <(git grep -l '#include <string.h>' -- 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 <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50689
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/soc/mediatek')
-rw-r--r-- | src/soc/mediatek/mt8192/dramc_pi_basic_api.c | 1 | ||||
-rw-r--r-- | src/soc/mediatek/mt8192/dramc_pi_calibration_api.c | 1 | ||||
-rw-r--r-- | src/soc/mediatek/mt8192/pmif.c | 1 | ||||
-rw-r--r-- | src/soc/mediatek/mt8192/pmif_spmi.c | 1 |
4 files changed, 0 insertions, 4 deletions
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 <soc/dramc_pi_api.h> #include <soc/dramc_register.h> #include <soc/gpio.h> -#include <string.h> #include <timer.h> 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 <soc/dramc_pi_api.h> #include <soc/dramc_register.h> -#include <string.h> 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 <soc/pmif_spmi.h> #include <soc/pmif_sw.h> #include <soc/spmi.h> -#include <string.h> #include <timer.h> 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 <soc/pmif_spmi.h> #include <soc/pmif_sw.h> #include <soc/spmi.h> -#include <string.h> #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)) |