From 327a0a7bafb9153b42893ce42bf84458cfa1be1e Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Wed, 10 Apr 2024 10:34:08 +0200 Subject: tree: Drop unused Change-Id: I0e216cbc4acf9571c65c345a1764e74485f89438 Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/81818 Reviewed-by: Yu-Ping Wu Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- src/commonlib/storage/pci_sdhci.c | 1 - src/drivers/amd/agesa/s3_mtrr.c | 1 - src/drivers/efi/option.c | 1 - src/drivers/ipmi/ocp/ipmi_sel.c | 1 - src/drivers/sof/sof.c | 1 - src/mainboard/google/geralt/panel.c | 1 - src/mainboard/lenovo/x1_carbon_gen1/early_init.c | 1 - src/mainboard/starlabs/lite/variants/glk/gpio.c | 1 - src/mainboard/starlabs/lite/variants/glkr/gpio.c | 1 - src/mainboard/starlabs/starbook/variants/cml/romstage.c | 1 - src/northbridge/intel/gm45/iommu.c | 1 - src/soc/amd/common/fsp/fsp_ccx_cppc_hob.c | 1 - src/soc/amd/mendocino/fsp_misc_data_hob.c | 1 - src/soc/intel/meteorlake/acpi.c | 1 - src/soc/intel/xeon_sp/spr/soc_util.c | 1 - src/soc/mediatek/mt8195/pcie.c | 1 - src/soc/qualcomm/sc7280/display/edp_aux.c | 1 - src/soc/qualcomm/sc7280/display/edp_phy_7nm.c | 1 - src/soc/rockchip/rk3288/clock.c | 1 - src/soc/rockchip/rk3399/clock.c | 1 - 20 files changed, 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 #include #include -#include #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 #include #include -#include #include /* 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 -#include #include #include 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 #include -#include #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 #include #include -#include #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 #include #include -#include #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 #include #include #include 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 #include #include -#include #include #include 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 #include #include -#include #include #include 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 #include #include -#include #include 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 -#include #include #include 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 #include #include -#include #include 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 #include #include -#include #include 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 #include #include -#include #include /* 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 #include #include -#include #include 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 #include #include -#include #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 #include #include -#include #include #include 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 #include #include -#include #include 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 #include #include -#include 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 #include #include -#include struct pll_div { u32 refdiv; -- cgit v1.2.3