From 08375b508222d4cdc85b01497322ffbac40f5a69 Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Mon, 27 May 2024 11:36:52 +0200 Subject: tree: Remove unused Change-Id: I9ed1a82fcd3fc29124ddc406592bd45dc84d4628 Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/82666 Tested-by: build bot (Jenkins) Reviewed-by: Yu-Ping Wu Reviewed-by: Yidi Lin --- src/arch/arm64/smbios.c | 1 - src/arch/riscv/include/vm.h | 1 - src/arch/x86/smbios.c | 1 - src/console/vsprintf.c | 1 - src/drivers/acpi/thermal_zone/thermal_zone.c | 1 - src/drivers/amd/i2s_machine_dev/i2s_machine_dev.c | 2 +- src/drivers/generic/gpio_keys/gpio_keys.c | 1 - src/drivers/i2c/generic/generic.c | 2 +- src/drivers/i2c/gpiomux/bus/bus.c | 1 - src/drivers/i2c/gpiomux/mux/mux.c | 1 - src/drivers/i2c/hid/hid.c | 2 +- src/drivers/i2c/sx9310/sx9310.c | 2 +- src/drivers/i2c/sx9324/sx9324.c | 2 +- src/drivers/i2c/sx9360/sx9360.c | 2 +- src/drivers/intel/gma/acpi.c | 2 +- src/drivers/intel/usb4/retimer/retimer.c | 2 +- src/drivers/nxp/uwb/uwb.c | 2 +- src/drivers/spi/acpi/acpi.c | 2 +- src/drivers/uart/acpi/acpi.c | 2 +- src/ec/google/chromeec/i2c_tunnel/i2c_tunnel.c | 2 +- src/include/bootstate.h | 1 - src/include/rmodule.h | 1 - src/lib/smbios_defaults.c | 1 - src/mainboard/google/fizz/mainboard.c | 1 - src/mainboard/google/gru/sdram_configs.c | 1 - src/mainboard/google/kahlee/mainboard.c | 1 - src/mainboard/google/kukui/mainboard.c | 1 - src/mainboard/google/poppy/variants/nami/mainboard.c | 1 - src/mainboard/google/poppy/variants/nautilus/mainboard.c | 1 - src/mainboard/google/poppy/variants/rammus/mainboard.c | 1 - src/mainboard/google/reef/mainboard.c | 1 - src/mainboard/intel/adlrvp/mainboard.c | 1 - src/mainboard/intel/avenuecity_crb/romstage.c | 1 - src/mainboard/intel/beechnutcity_crb/romstage.c | 1 - src/mainboard/intel/mtlrvp/mainboard.c | 1 - src/mainboard/intel/tglrvp/mainboard.c | 1 - src/mainboard/kontron/986lcd-m/mainboard.c | 1 - src/mainboard/pcengines/apu2/mainboard.c | 1 - src/mainboard/prodrive/atlas/mainboard.c | 1 - src/mainboard/prodrive/hermes/smbios.c | 1 - src/soc/mediatek/common/display.c | 1 - 41 files changed, 12 insertions(+), 41 deletions(-) (limited to 'src') diff --git a/src/arch/arm64/smbios.c b/src/arch/arm64/smbios.c index 8042057e07..a8d0523795 100644 --- a/src/arch/arm64/smbios.c +++ b/src/arch/arm64/smbios.c @@ -6,7 +6,6 @@ #include #include #include -#include static void smbios_processor_id(u32 *processor_id) { diff --git a/src/arch/riscv/include/vm.h b/src/arch/riscv/include/vm.h index c1894c70ca..9219f106cc 100644 --- a/src/arch/riscv/include/vm.h +++ b/src/arch/riscv/include/vm.h @@ -3,7 +3,6 @@ #ifndef _VM_H #define _VM_H -#include #include #include diff --git a/src/arch/x86/smbios.c b/src/arch/x86/smbios.c index f42de71fc7..ef2c19a7d0 100644 --- a/src/arch/x86/smbios.c +++ b/src/arch/x86/smbios.c @@ -1,6 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include #include #include #include diff --git a/src/console/vsprintf.c b/src/console/vsprintf.c index 4ffc677b33..086ed7cc78 100644 --- a/src/console/vsprintf.c +++ b/src/console/vsprintf.c @@ -2,7 +2,6 @@ #include #include -#include struct vsnprintf_context { char *str_buf; diff --git a/src/drivers/acpi/thermal_zone/thermal_zone.c b/src/drivers/acpi/thermal_zone/thermal_zone.c index b1016cd661..e491f751ff 100644 --- a/src/drivers/acpi/thermal_zone/thermal_zone.c +++ b/src/drivers/acpi/thermal_zone/thermal_zone.c @@ -7,7 +7,6 @@ #include #include #include -#include #include "chip.h" diff --git a/src/drivers/amd/i2s_machine_dev/i2s_machine_dev.c b/src/drivers/amd/i2s_machine_dev/i2s_machine_dev.c index 28377a17cc..5f43e4f515 100644 --- a/src/drivers/amd/i2s_machine_dev/i2s_machine_dev.c +++ b/src/drivers/amd/i2s_machine_dev/i2s_machine_dev.c @@ -4,7 +4,7 @@ #include #include #include -#include + #include "chip.h" #include diff --git a/src/drivers/generic/gpio_keys/gpio_keys.c b/src/drivers/generic/gpio_keys/gpio_keys.c index 97a4e05fad..f5df0c45bc 100644 --- a/src/drivers/generic/gpio_keys/gpio_keys.c +++ b/src/drivers/generic/gpio_keys/gpio_keys.c @@ -4,7 +4,6 @@ #include #include #include -#include #include "chip.h" diff --git a/src/drivers/i2c/generic/generic.c b/src/drivers/i2c/generic/generic.c index a3d8ef257e..98c59e6a05 100644 --- a/src/drivers/i2c/generic/generic.c +++ b/src/drivers/i2c/generic/generic.c @@ -8,7 +8,7 @@ #include #include #include -#include + #include "chip.h" #if CONFIG(HAVE_ACPI_TABLES) diff --git a/src/drivers/i2c/gpiomux/bus/bus.c b/src/drivers/i2c/gpiomux/bus/bus.c index 8efcf217fd..2e2d6858d2 100644 --- a/src/drivers/i2c/gpiomux/bus/bus.c +++ b/src/drivers/i2c/gpiomux/bus/bus.c @@ -5,7 +5,6 @@ #include #include #include -#include #include "chip.h" diff --git a/src/drivers/i2c/gpiomux/mux/mux.c b/src/drivers/i2c/gpiomux/mux/mux.c index a7dcd64f6d..1e1ea45c74 100644 --- a/src/drivers/i2c/gpiomux/mux/mux.c +++ b/src/drivers/i2c/gpiomux/mux/mux.c @@ -5,7 +5,6 @@ #include #include #include -#include #include "chip.h" diff --git a/src/drivers/i2c/hid/hid.c b/src/drivers/i2c/hid/hid.c index 06b31d129d..c91b04a922 100644 --- a/src/drivers/i2c/hid/hid.c +++ b/src/drivers/i2c/hid/hid.c @@ -5,7 +5,7 @@ #include #include #include -#include + #include "chip.h" #include #include diff --git a/src/drivers/i2c/sx9310/sx9310.c b/src/drivers/i2c/sx9310/sx9310.c index a4bdb153dc..19eda301ee 100644 --- a/src/drivers/i2c/sx9310/sx9310.c +++ b/src/drivers/i2c/sx9310/sx9310.c @@ -6,7 +6,7 @@ #include #include #include -#include + #include "chip.h" #define I2C_SX9310_ACPI_ID "STH9310" diff --git a/src/drivers/i2c/sx9324/sx9324.c b/src/drivers/i2c/sx9324/sx9324.c index 041991eb4a..f2753ea524 100644 --- a/src/drivers/i2c/sx9324/sx9324.c +++ b/src/drivers/i2c/sx9324/sx9324.c @@ -6,7 +6,7 @@ #include #include #include -#include + #include "chip.h" #define I2C_SX9324_ACPI_ID "STH9324" diff --git a/src/drivers/i2c/sx9360/sx9360.c b/src/drivers/i2c/sx9360/sx9360.c index d72f28db6f..63180c7dc1 100644 --- a/src/drivers/i2c/sx9360/sx9360.c +++ b/src/drivers/i2c/sx9360/sx9360.c @@ -6,7 +6,7 @@ #include #include #include -#include + #include "chip.h" #define I2C_SX9360_ACPI_ID "STH9360" diff --git a/src/drivers/intel/gma/acpi.c b/src/drivers/intel/gma/acpi.c index 534c0d8e10..9211100bc4 100644 --- a/src/drivers/intel/gma/acpi.c +++ b/src/drivers/intel/gma/acpi.c @@ -2,7 +2,7 @@ #include #include -#include + #include "i915.h" void diff --git a/src/drivers/intel/usb4/retimer/retimer.c b/src/drivers/intel/usb4/retimer/retimer.c index 3c867d479b..3769fc9193 100644 --- a/src/drivers/intel/usb4/retimer/retimer.c +++ b/src/drivers/intel/usb4/retimer/retimer.c @@ -8,7 +8,7 @@ #include #include #include -#include + #include "chip.h" #include "retimer.h" diff --git a/src/drivers/nxp/uwb/uwb.c b/src/drivers/nxp/uwb/uwb.c index 3c4fac13ff..8a451c4103 100644 --- a/src/drivers/nxp/uwb/uwb.c +++ b/src/drivers/nxp/uwb/uwb.c @@ -7,7 +7,7 @@ #include #include #include -#include + #include "chip.h" static int spi_acpi_get_bus(const struct device *dev) diff --git a/src/drivers/spi/acpi/acpi.c b/src/drivers/spi/acpi/acpi.c index 75d6dc98dc..6d92776683 100644 --- a/src/drivers/spi/acpi/acpi.c +++ b/src/drivers/spi/acpi/acpi.c @@ -7,7 +7,7 @@ #include #include #include -#include + #include "chip.h" static int spi_acpi_get_bus(const struct device *dev) diff --git a/src/drivers/uart/acpi/acpi.c b/src/drivers/uart/acpi/acpi.c index 716d522285..bfa50c6ccf 100644 --- a/src/drivers/uart/acpi/acpi.c +++ b/src/drivers/uart/acpi/acpi.c @@ -4,7 +4,7 @@ #include #include #include -#include + #include "chip.h" static bool uart_acpi_add_gpios_to_crs(struct drivers_uart_acpi_config *config) diff --git a/src/ec/google/chromeec/i2c_tunnel/i2c_tunnel.c b/src/ec/google/chromeec/i2c_tunnel/i2c_tunnel.c index fc6b759807..4fa32e60da 100644 --- a/src/ec/google/chromeec/i2c_tunnel/i2c_tunnel.c +++ b/src/ec/google/chromeec/i2c_tunnel/i2c_tunnel.c @@ -6,7 +6,7 @@ #include #include #include -#include + #include "chip.h" #define CROS_EC_I2C_TUNNEL_HID "GOOG0012" diff --git a/src/include/bootstate.h b/src/include/bootstate.h index 30231ce568..ab055afae7 100644 --- a/src/include/bootstate.h +++ b/src/include/bootstate.h @@ -3,7 +3,6 @@ #define BOOTSTATE_H #include -#include #include /* Only declare main() when in ramstage. */ #if ENV_RAMSTAGE diff --git a/src/include/rmodule.h b/src/include/rmodule.h index bf26ad0b70..72faecced7 100644 --- a/src/include/rmodule.h +++ b/src/include/rmodule.h @@ -4,7 +4,6 @@ #include #include -#include #include enum { diff --git a/src/lib/smbios_defaults.c b/src/lib/smbios_defaults.c index 56bddabf25..0ad6442a4f 100644 --- a/src/lib/smbios_defaults.c +++ b/src/lib/smbios_defaults.c @@ -4,7 +4,6 @@ #include #include #include -#include /* this function will fill the corresponding locator */ __weak void smbios_fill_dimm_locator(const struct dimm_info *dimm, struct smbios_type17 *t) diff --git a/src/mainboard/google/fizz/mainboard.c b/src/mainboard/google/fizz/mainboard.c index 257a27f985..795d96ef9b 100644 --- a/src/mainboard/google/fizz/mainboard.c +++ b/src/mainboard/google/fizz/mainboard.c @@ -15,7 +15,6 @@ #include #include #include -#include #include #include diff --git a/src/mainboard/google/gru/sdram_configs.c b/src/mainboard/google/gru/sdram_configs.c index 971b671d79..02790b0762 100644 --- a/src/mainboard/google/gru/sdram_configs.c +++ b/src/mainboard/google/gru/sdram_configs.c @@ -6,7 +6,6 @@ #include #include #include -#include #include static const char *sdram_configs[] = { diff --git a/src/mainboard/google/kahlee/mainboard.c b/src/mainboard/google/kahlee/mainboard.c index 1290b97293..685414e647 100644 --- a/src/mainboard/google/kahlee/mainboard.c +++ b/src/mainboard/google/kahlee/mainboard.c @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include -#include #include #include #include diff --git a/src/mainboard/google/kukui/mainboard.c b/src/mainboard/google/kukui/mainboard.c index bc70db5bcf..22f8150d5e 100644 --- a/src/mainboard/google/kukui/mainboard.c +++ b/src/mainboard/google/kukui/mainboard.c @@ -20,7 +20,6 @@ #include #include #include -#include #include "gpio.h" #include "panel.h" diff --git a/src/mainboard/google/poppy/variants/nami/mainboard.c b/src/mainboard/google/poppy/variants/nami/mainboard.c index 172581fa4a..7bdfb5e177 100644 --- a/src/mainboard/google/poppy/variants/nami/mainboard.c +++ b/src/mainboard/google/poppy/variants/nami/mainboard.c @@ -14,7 +14,6 @@ #include #include #include -#include #include #include #include diff --git a/src/mainboard/google/poppy/variants/nautilus/mainboard.c b/src/mainboard/google/poppy/variants/nautilus/mainboard.c index d21acd651b..b77513ba56 100644 --- a/src/mainboard/google/poppy/variants/nautilus/mainboard.c +++ b/src/mainboard/google/poppy/variants/nautilus/mainboard.c @@ -7,7 +7,6 @@ #include #include #include -#include #include #define R_PCH_OC_WDT_CTL 0x54 diff --git a/src/mainboard/google/poppy/variants/rammus/mainboard.c b/src/mainboard/google/poppy/variants/rammus/mainboard.c index e8c7e69842..7eafebcff0 100644 --- a/src/mainboard/google/poppy/variants/rammus/mainboard.c +++ b/src/mainboard/google/poppy/variants/rammus/mainboard.c @@ -4,7 +4,6 @@ #include #include #include -#include #include #define SKU_UNKNOWN 0xFFFFFFFF diff --git a/src/mainboard/google/reef/mainboard.c b/src/mainboard/google/reef/mainboard.c index 4b1b32d522..964fc1ce74 100644 --- a/src/mainboard/google/reef/mainboard.c +++ b/src/mainboard/google/reef/mainboard.c @@ -11,7 +11,6 @@ #include #include #include -#include #include #include diff --git a/src/mainboard/intel/adlrvp/mainboard.c b/src/mainboard/intel/adlrvp/mainboard.c index f6321e85ab..c02cbf9a58 100644 --- a/src/mainboard/intel/adlrvp/mainboard.c +++ b/src/mainboard/intel/adlrvp/mainboard.c @@ -12,7 +12,6 @@ #include #include #include -#include #include "board_id.h" diff --git a/src/mainboard/intel/avenuecity_crb/romstage.c b/src/mainboard/intel/avenuecity_crb/romstage.c index 9cd8cccada..f0e67af21e 100644 --- a/src/mainboard/intel/avenuecity_crb/romstage.c +++ b/src/mainboard/intel/avenuecity_crb/romstage.c @@ -9,7 +9,6 @@ #include #include #include -#include #include "chip.h" diff --git a/src/mainboard/intel/beechnutcity_crb/romstage.c b/src/mainboard/intel/beechnutcity_crb/romstage.c index 9cd8cccada..f0e67af21e 100644 --- a/src/mainboard/intel/beechnutcity_crb/romstage.c +++ b/src/mainboard/intel/beechnutcity_crb/romstage.c @@ -9,7 +9,6 @@ #include #include #include -#include #include "chip.h" diff --git a/src/mainboard/intel/mtlrvp/mainboard.c b/src/mainboard/intel/mtlrvp/mainboard.c index 85c2dd4a67..93cec476f6 100644 --- a/src/mainboard/intel/mtlrvp/mainboard.c +++ b/src/mainboard/intel/mtlrvp/mainboard.c @@ -9,7 +9,6 @@ #include #include #include -#include const char *smbios_system_sku(void) { diff --git a/src/mainboard/intel/tglrvp/mainboard.c b/src/mainboard/intel/tglrvp/mainboard.c index 8f38ca2cb1..b15f2c14b6 100644 --- a/src/mainboard/intel/tglrvp/mainboard.c +++ b/src/mainboard/intel/tglrvp/mainboard.c @@ -7,7 +7,6 @@ #include #include #include -#include const char *smbios_system_sku(void) { diff --git a/src/mainboard/kontron/986lcd-m/mainboard.c b/src/mainboard/kontron/986lcd-m/mainboard.c index 01815ed2bd..bd50fc33ca 100644 --- a/src/mainboard/kontron/986lcd-m/mainboard.c +++ b/src/mainboard/kontron/986lcd-m/mainboard.c @@ -1,6 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include #include #include #include diff --git a/src/mainboard/pcengines/apu2/mainboard.c b/src/mainboard/pcengines/apu2/mainboard.c index b21c7ed2a1..242ad9d932 100644 --- a/src/mainboard/pcengines/apu2/mainboard.c +++ b/src/mainboard/pcengines/apu2/mainboard.c @@ -17,7 +17,6 @@ #include #include #include -#include #include #include "gpio_ftns.h" diff --git a/src/mainboard/prodrive/atlas/mainboard.c b/src/mainboard/prodrive/atlas/mainboard.c index a70bbae591..8488836655 100644 --- a/src/mainboard/prodrive/atlas/mainboard.c +++ b/src/mainboard/prodrive/atlas/mainboard.c @@ -6,7 +6,6 @@ #include #include #include -#include #include #include "gpio.h" diff --git a/src/mainboard/prodrive/hermes/smbios.c b/src/mainboard/prodrive/hermes/smbios.c index 96715555be..2f2869a9d5 100644 --- a/src/mainboard/prodrive/hermes/smbios.c +++ b/src/mainboard/prodrive/hermes/smbios.c @@ -2,7 +2,6 @@ #include #include -#include #include #include "eeprom.h" diff --git a/src/soc/mediatek/common/display.c b/src/soc/mediatek/common/display.c index 0c23e49249..a212805b5b 100644 --- a/src/soc/mediatek/common/display.c +++ b/src/soc/mediatek/common/display.c @@ -11,7 +11,6 @@ #include #include #include -#include static struct panel_serializable_data *get_mipi_cmd_from_cbfs(struct panel_description *desc) { -- cgit v1.2.3