summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/commonlib/storage/pci_sdhci.c1
-rw-r--r--src/drivers/amd/agesa/s3_mtrr.c1
-rw-r--r--src/drivers/efi/option.c1
-rw-r--r--src/drivers/ipmi/ocp/ipmi_sel.c1
-rw-r--r--src/drivers/sof/sof.c1
-rw-r--r--src/mainboard/google/geralt/panel.c1
-rw-r--r--src/mainboard/lenovo/x1_carbon_gen1/early_init.c1
-rw-r--r--src/mainboard/starlabs/lite/variants/glk/gpio.c1
-rw-r--r--src/mainboard/starlabs/lite/variants/glkr/gpio.c1
-rw-r--r--src/mainboard/starlabs/starbook/variants/cml/romstage.c1
-rw-r--r--src/northbridge/intel/gm45/iommu.c1
-rw-r--r--src/soc/amd/common/fsp/fsp_ccx_cppc_hob.c1
-rw-r--r--src/soc/amd/mendocino/fsp_misc_data_hob.c1
-rw-r--r--src/soc/intel/meteorlake/acpi.c1
-rw-r--r--src/soc/intel/xeon_sp/spr/soc_util.c1
-rw-r--r--src/soc/mediatek/mt8195/pcie.c1
-rw-r--r--src/soc/qualcomm/sc7280/display/edp_aux.c1
-rw-r--r--src/soc/qualcomm/sc7280/display/edp_phy_7nm.c1
-rw-r--r--src/soc/rockchip/rk3288/clock.c1
-rw-r--r--src/soc/rockchip/rk3399/clock.c1
20 files changed, 0 insertions, 20 deletions
diff --git a/src/commonlib/storage/pci_sdhci.c b/src/commonlib/storage/pci_sdhci.c
index de9dd1b55c..f7922d42ea 100644
--- a/src/commonlib/storage/pci_sdhci.c
+++ b/src/commonlib/storage/pci_sdhci.c
@@ -4,7 +4,6 @@
#include <device/pci.h>
#include <device/pci_ops.h>
#include <stdint.h>
-#include <string.h>
#include "sd_mmc.h"
#include "storage.h"
diff --git a/src/drivers/amd/agesa/s3_mtrr.c b/src/drivers/amd/agesa/s3_mtrr.c
index 51e8a4d27b..b085b4d671 100644
--- a/src/drivers/amd/agesa/s3_mtrr.c
+++ b/src/drivers/amd/agesa/s3_mtrr.c
@@ -6,7 +6,6 @@
#include <cpu/x86/mtrr.h>
#include <cpu/amd/mtrr.h>
#include <cpu/x86/cache.h>
-#include <string.h>
#include <northbridge/amd/agesa/agesa_helper.h>
/* TODO: Do we want MTRR_DEF_TYPE_MSR too? */
diff --git a/src/drivers/efi/option.c b/src/drivers/efi/option.c
index 3960cfc76b..8e5b326718 100644
--- a/src/drivers/efi/option.c
+++ b/src/drivers/efi/option.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <stdlib.h>
-#include <string.h>
#include <option.h>
#include <smmstore.h>
diff --git a/src/drivers/ipmi/ocp/ipmi_sel.c b/src/drivers/ipmi/ocp/ipmi_sel.c
index f7605ec572..157bdbde34 100644
--- a/src/drivers/ipmi/ocp/ipmi_sel.c
+++ b/src/drivers/ipmi/ocp/ipmi_sel.c
@@ -2,7 +2,6 @@
#include <console/console.h>
#include <drivers/ipmi/ipmi_if.h>
-#include <string.h>
#include "ipmi_ocp.h"
diff --git a/src/drivers/sof/sof.c b/src/drivers/sof/sof.c
index db945aa8f5..8cd577e32b 100644
--- a/src/drivers/sof/sof.c
+++ b/src/drivers/sof/sof.c
@@ -4,7 +4,6 @@
#include <acpi/acpigen.h>
#include <device/device.h>
#include <device/path.h>
-#include <string.h>
#include "chip.h"
diff --git a/src/mainboard/google/geralt/panel.c b/src/mainboard/google/geralt/panel.c
index 3f55cac12d..9bf7416db5 100644
--- a/src/mainboard/google/geralt/panel.c
+++ b/src/mainboard/google/geralt/panel.c
@@ -11,7 +11,6 @@
#include <soc/i2c.h>
#include <soc/pmif.h>
#include <soc/regulator.h>
-#include <string.h>
#include "gpio.h"
#include "panel.h"
diff --git a/src/mainboard/lenovo/x1_carbon_gen1/early_init.c b/src/mainboard/lenovo/x1_carbon_gen1/early_init.c
index 00d94e69ab..b525a0bc4b 100644
--- a/src/mainboard/lenovo/x1_carbon_gen1/early_init.c
+++ b/src/mainboard/lenovo/x1_carbon_gen1/early_init.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <string.h>
#include <console/console.h>
#include <northbridge/intel/sandybridge/raminit.h>
#include <southbridge/intel/bd82x6x/pch.h>
diff --git a/src/mainboard/starlabs/lite/variants/glk/gpio.c b/src/mainboard/starlabs/lite/variants/glk/gpio.c
index f24ed9e656..321082ce3b 100644
--- a/src/mainboard/starlabs/lite/variants/glk/gpio.c
+++ b/src/mainboard/starlabs/lite/variants/glk/gpio.c
@@ -3,7 +3,6 @@
#include <gpio.h>
#include <soc/meminit.h>
#include <soc/romstage.h>
-#include <string.h>
#include <variants.h>
#include <types.h>
diff --git a/src/mainboard/starlabs/lite/variants/glkr/gpio.c b/src/mainboard/starlabs/lite/variants/glkr/gpio.c
index 11a7d31615..41d2b47c30 100644
--- a/src/mainboard/starlabs/lite/variants/glkr/gpio.c
+++ b/src/mainboard/starlabs/lite/variants/glkr/gpio.c
@@ -3,7 +3,6 @@
#include <gpio.h>
#include <soc/meminit.h>
#include <soc/romstage.h>
-#include <string.h>
#include <variants.h>
#include <types.h>
diff --git a/src/mainboard/starlabs/starbook/variants/cml/romstage.c b/src/mainboard/starlabs/starbook/variants/cml/romstage.c
index 75a19e576b..372f8b0620 100644
--- a/src/mainboard/starlabs/starbook/variants/cml/romstage.c
+++ b/src/mainboard/starlabs/starbook/variants/cml/romstage.c
@@ -5,7 +5,6 @@
#include <option.h>
#include <soc/cnl_memcfg_init.h>
#include <soc/romstage.h>
-#include <string.h>
#include <types.h>
static unsigned int get_memory_config_straps(void)
diff --git a/src/northbridge/intel/gm45/iommu.c b/src/northbridge/intel/gm45/iommu.c
index 4f6e000bdc..6a68dff13a 100644
--- a/src/northbridge/intel/gm45/iommu.c
+++ b/src/northbridge/intel/gm45/iommu.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <stdint.h>
-#include <string.h>
#include <device/pci_ops.h>
#include <device/pci_def.h>
diff --git a/src/soc/amd/common/fsp/fsp_ccx_cppc_hob.c b/src/soc/amd/common/fsp/fsp_ccx_cppc_hob.c
index 6e615ddeb5..aaf492e737 100644
--- a/src/soc/amd/common/fsp/fsp_ccx_cppc_hob.c
+++ b/src/soc/amd/common/fsp/fsp_ccx_cppc_hob.c
@@ -5,7 +5,6 @@
#include <console/console.h>
#include <FspGuids.h>
#include <fsp/util.h>
-#include <string.h>
#include <types.h>
diff --git a/src/soc/amd/mendocino/fsp_misc_data_hob.c b/src/soc/amd/mendocino/fsp_misc_data_hob.c
index ed35800052..e5eae02075 100644
--- a/src/soc/amd/mendocino/fsp_misc_data_hob.c
+++ b/src/soc/amd/mendocino/fsp_misc_data_hob.c
@@ -5,7 +5,6 @@
#include <fsp/amd_misc_data.h>
#include <fsp/amd_misc_data_hob.h>
#include <fsp/util.h>
-#include <string.h>
#include <types.h>
static enum cb_err get_amd_misc_data_hob(const struct amd_misc_data **fsp_misc_data, int min_revision)
diff --git a/src/soc/intel/meteorlake/acpi.c b/src/soc/intel/meteorlake/acpi.c
index ca4e5e1055..c8d1978106 100644
--- a/src/soc/intel/meteorlake/acpi.c
+++ b/src/soc/intel/meteorlake/acpi.c
@@ -20,7 +20,6 @@
#include <soc/pm.h>
#include <soc/soc_chip.h>
#include <soc/systemagent.h>
-#include <string.h>
#include <types.h>
/*
diff --git a/src/soc/intel/xeon_sp/spr/soc_util.c b/src/soc/intel/xeon_sp/spr/soc_util.c
index 6ed018c56c..83418dcf29 100644
--- a/src/soc/intel/xeon_sp/spr/soc_util.c
+++ b/src/soc/intel/xeon_sp/spr/soc_util.c
@@ -11,7 +11,6 @@
#include <soc/soc_util.h>
#include <soc/util.h>
#include <stdlib.h>
-#include <string.h>
#include <pc80/mc146818rtc.h>
const EWL_PRIVATE_DATA *get_ewl_hob(void)
diff --git a/src/soc/mediatek/mt8195/pcie.c b/src/soc/mediatek/mt8195/pcie.c
index 7f60d68c29..960d0bb480 100644
--- a/src/soc/mediatek/mt8195/pcie.c
+++ b/src/soc/mediatek/mt8195/pcie.c
@@ -8,7 +8,6 @@
#include <soc/pcie.h>
#include <soc/pcie_common.h>
#include <stdlib.h>
-#include <string.h>
#define PCIE_REG_BASE_PORT0 0x112f0000
#define PCIE_RST_CTRL_REG (PCIE_REG_BASE_PORT0 + 0x148)
diff --git a/src/soc/qualcomm/sc7280/display/edp_aux.c b/src/soc/qualcomm/sc7280/display/edp_aux.c
index a2dda3911e..9d330a61d1 100644
--- a/src/soc/qualcomm/sc7280/display/edp_aux.c
+++ b/src/soc/qualcomm/sc7280/display/edp_aux.c
@@ -5,7 +5,6 @@
#include <edid.h>
#include <timer.h>
#include <types.h>
-#include <string.h>
#include <soc/display/edp_aux.h>
#include <soc/display/edp_reg.h>
diff --git a/src/soc/qualcomm/sc7280/display/edp_phy_7nm.c b/src/soc/qualcomm/sc7280/display/edp_phy_7nm.c
index 507431740f..5b36c4b996 100644
--- a/src/soc/qualcomm/sc7280/display/edp_phy_7nm.c
+++ b/src/soc/qualcomm/sc7280/display/edp_phy_7nm.c
@@ -6,7 +6,6 @@
#include <soc/clock.h>
#include <soc/display/edp_reg.h>
#include <soc/display/edp_phy.h>
-#include <string.h>
#include <timer.h>
static void edp_phy_ssc_en(bool en)
diff --git a/src/soc/rockchip/rk3288/clock.c b/src/soc/rockchip/rk3288/clock.c
index c3a9ac2a2a..b6960aaae0 100644
--- a/src/soc/rockchip/rk3288/clock.c
+++ b/src/soc/rockchip/rk3288/clock.c
@@ -12,7 +12,6 @@
#include <soc/i2c.h>
#include <soc/soc.h>
#include <stdint.h>
-#include <string.h>
struct pll_div {
u32 nr;
diff --git a/src/soc/rockchip/rk3399/clock.c b/src/soc/rockchip/rk3399/clock.c
index 115d289bcb..0b027edd5c 100644
--- a/src/soc/rockchip/rk3399/clock.c
+++ b/src/soc/rockchip/rk3399/clock.c
@@ -11,7 +11,6 @@
#include <soc/i2c.h>
#include <soc/soc.h>
#include <stdint.h>
-#include <string.h>
struct pll_div {
u32 refdiv;