From 2d4e836f119e2b7c953e11a941690058e9f33095 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Wed, 6 Mar 2019 13:06:54 +0100 Subject: [PATCH] src: Drop unused include Change-Id: I7e181111cd1b837382929071a350b94c3afc1aaa Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/31784 Tested-by: build bot (Jenkins) Reviewed-by: Werner Zeh --- src/drivers/intel/fsp2_0/temp_ram_exit.c | 1 - src/lib/fit.c | 1 - src/lib/lzma.c | 1 - src/mainboard/google/butterfly/romstage.c | 1 - src/mainboard/google/cheza/bootblock.c | 1 - src/mainboard/google/cheza/mainboard.c | 1 - src/mainboard/google/link/romstage.c | 1 - src/mainboard/google/parrot/romstage.c | 1 - src/mainboard/google/stout/romstage.c | 1 - src/mainboard/intel/bayleybay_fsp/romstage.c | 1 - src/mainboard/intel/emeraldlake2/romstage.c | 1 - src/mainboard/kontron/ktqm77/romstage.c | 2 -- src/mainboard/lenovo/x1_carbon_gen1/romstage.c | 1 - src/mainboard/lenovo/x220/romstage.c | 1 - src/mainboard/lenovo/x230/romstage.c | 1 - src/mainboard/samsung/lumpy/romstage.c | 1 - src/mainboard/samsung/stumpy/romstage.c | 1 - src/mainboard/siemens/mc_tcu3/romstage.c | 1 - src/security/vboot/vboot_handoff.c | 1 - src/soc/imgtec/pistachio/monotonic_timer.c | 1 - src/soc/intel/skylake/romstage/romstage.c | 1 - src/soc/nvidia/tegra210/bootblock.c | 1 - src/soc/nvidia/tegra210/romstage.c | 1 - src/soc/qualcomm/ipq40xx/blobs_init.c | 1 - src/soc/qualcomm/sdm845/clock.c | 1 - src/soc/qualcomm/sdm845/gpio.c | 1 - src/soc/qualcomm/sdm845/soc.c | 1 - src/soc/rockchip/rk3288/bootblock.c | 1 - 28 files changed, 29 deletions(-) diff --git a/src/drivers/intel/fsp2_0/temp_ram_exit.c b/src/drivers/intel/fsp2_0/temp_ram_exit.c index ceb30fd636..5532c43c02 100644 --- a/src/drivers/intel/fsp2_0/temp_ram_exit.c +++ b/src/drivers/intel/fsp2_0/temp_ram_exit.c @@ -15,7 +15,6 @@ #include #include #include -#include #include void fsp_temp_ram_exit(void) diff --git a/src/lib/fit.c b/src/lib/fit.c index 090d34afd7..9184d6344e 100644 --- a/src/lib/fit.c +++ b/src/lib/fit.c @@ -23,7 +23,6 @@ #include #include #include -#include #include #include #include diff --git a/src/lib/lzma.c b/src/lib/lzma.c index dbc464cc80..eecbb267d2 100644 --- a/src/lib/lzma.c +++ b/src/lib/lzma.c @@ -13,7 +13,6 @@ #include #include #include -#include #include "lzmadecode.h" diff --git a/src/mainboard/google/butterfly/romstage.c b/src/mainboard/google/butterfly/romstage.c index f5383a770d..9f98c8bb7e 100644 --- a/src/mainboard/google/butterfly/romstage.c +++ b/src/mainboard/google/butterfly/romstage.c @@ -16,7 +16,6 @@ #include #include -#include #include #include #include diff --git a/src/mainboard/google/cheza/bootblock.c b/src/mainboard/google/cheza/bootblock.c index c72856dee6..ad858429c7 100644 --- a/src/mainboard/google/cheza/bootblock.c +++ b/src/mainboard/google/cheza/bootblock.c @@ -14,7 +14,6 @@ */ #include -#include #include "board.h" void bootblock_mainboard_init(void) diff --git a/src/mainboard/google/cheza/mainboard.c b/src/mainboard/google/cheza/mainboard.c index fdec3fb50e..cb4f5d061a 100644 --- a/src/mainboard/google/cheza/mainboard.c +++ b/src/mainboard/google/cheza/mainboard.c @@ -16,7 +16,6 @@ #include #include #include -#include static void setup_usb(void) { diff --git a/src/mainboard/google/link/romstage.c b/src/mainboard/google/link/romstage.c index 31051ef720..46e2d608b6 100644 --- a/src/mainboard/google/link/romstage.c +++ b/src/mainboard/google/link/romstage.c @@ -16,7 +16,6 @@ #include #include -#include #include #include #include diff --git a/src/mainboard/google/parrot/romstage.c b/src/mainboard/google/parrot/romstage.c index c9b4e9158c..ce902bef41 100644 --- a/src/mainboard/google/parrot/romstage.c +++ b/src/mainboard/google/parrot/romstage.c @@ -16,7 +16,6 @@ #include #include -#include #include #include #include diff --git a/src/mainboard/google/stout/romstage.c b/src/mainboard/google/stout/romstage.c index f6f36118e8..f60f8228b1 100644 --- a/src/mainboard/google/stout/romstage.c +++ b/src/mainboard/google/stout/romstage.c @@ -16,7 +16,6 @@ #include #include -#include #include #include #include diff --git a/src/mainboard/intel/bayleybay_fsp/romstage.c b/src/mainboard/intel/bayleybay_fsp/romstage.c index 7c906ce368..c34d82fde1 100644 --- a/src/mainboard/intel/bayleybay_fsp/romstage.c +++ b/src/mainboard/intel/bayleybay_fsp/romstage.c @@ -18,7 +18,6 @@ #include #include #include -#include #include #include #include diff --git a/src/mainboard/intel/emeraldlake2/romstage.c b/src/mainboard/intel/emeraldlake2/romstage.c index d5ba961bdb..a9b80e8285 100644 --- a/src/mainboard/intel/emeraldlake2/romstage.c +++ b/src/mainboard/intel/emeraldlake2/romstage.c @@ -16,7 +16,6 @@ #include #include -#include #include #include #include diff --git a/src/mainboard/kontron/ktqm77/romstage.c b/src/mainboard/kontron/ktqm77/romstage.c index 8c53420899..6539cde812 100644 --- a/src/mainboard/kontron/ktqm77/romstage.c +++ b/src/mainboard/kontron/ktqm77/romstage.c @@ -28,8 +28,6 @@ #include #include #include -#include - void pch_enable_lpc(void) { diff --git a/src/mainboard/lenovo/x1_carbon_gen1/romstage.c b/src/mainboard/lenovo/x1_carbon_gen1/romstage.c index e3d2000d1e..c65060f9f9 100644 --- a/src/mainboard/lenovo/x1_carbon_gen1/romstage.c +++ b/src/mainboard/lenovo/x1_carbon_gen1/romstage.c @@ -18,7 +18,6 @@ #include #include -#include #include #include #include diff --git a/src/mainboard/lenovo/x220/romstage.c b/src/mainboard/lenovo/x220/romstage.c index d50c7cd608..38ede4bfff 100644 --- a/src/mainboard/lenovo/x220/romstage.c +++ b/src/mainboard/lenovo/x220/romstage.c @@ -17,7 +17,6 @@ #include #include -#include #include #include #include diff --git a/src/mainboard/lenovo/x230/romstage.c b/src/mainboard/lenovo/x230/romstage.c index b85e72078d..614ad5e807 100644 --- a/src/mainboard/lenovo/x230/romstage.c +++ b/src/mainboard/lenovo/x230/romstage.c @@ -17,7 +17,6 @@ #include #include -#include #include #include #include diff --git a/src/mainboard/samsung/lumpy/romstage.c b/src/mainboard/samsung/lumpy/romstage.c index d39d59c735..1bb0b797d7 100644 --- a/src/mainboard/samsung/lumpy/romstage.c +++ b/src/mainboard/samsung/lumpy/romstage.c @@ -16,7 +16,6 @@ #include #include -#include #include #include #include diff --git a/src/mainboard/samsung/stumpy/romstage.c b/src/mainboard/samsung/stumpy/romstage.c index 1c4e3d8f2f..8370cfe0a8 100644 --- a/src/mainboard/samsung/stumpy/romstage.c +++ b/src/mainboard/samsung/stumpy/romstage.c @@ -16,7 +16,6 @@ #include #include -#include #include #include #include diff --git a/src/mainboard/siemens/mc_tcu3/romstage.c b/src/mainboard/siemens/mc_tcu3/romstage.c index d0e5e8283d..3c36833900 100644 --- a/src/mainboard/siemens/mc_tcu3/romstage.c +++ b/src/mainboard/siemens/mc_tcu3/romstage.c @@ -19,7 +19,6 @@ #include #include #include -#include #include #include #include diff --git a/src/security/vboot/vboot_handoff.c b/src/security/vboot/vboot_handoff.c index 684b4956ca..5ed50110a6 100644 --- a/src/security/vboot/vboot_handoff.c +++ b/src/security/vboot/vboot_handoff.c @@ -31,7 +31,6 @@ #include #include #include -#include #include #include #include diff --git a/src/soc/imgtec/pistachio/monotonic_timer.c b/src/soc/imgtec/pistachio/monotonic_timer.c index f351ea1e30..6e40a39148 100644 --- a/src/soc/imgtec/pistachio/monotonic_timer.c +++ b/src/soc/imgtec/pistachio/monotonic_timer.c @@ -18,7 +18,6 @@ #include #include #include -#include #define PISTACHIO_CLOCK_SWITCH 0xB8144200 #define MIPS_EXTERN_PLL_BYPASS_MASK 0x00000002 diff --git a/src/soc/intel/skylake/romstage/romstage.c b/src/soc/intel/skylake/romstage/romstage.c index cf4bffccd6..e147f0c0aa 100644 --- a/src/soc/intel/skylake/romstage/romstage.c +++ b/src/soc/intel/skylake/romstage/romstage.c @@ -37,7 +37,6 @@ #include #include #include -#include #include /* SOC initialization before RAM is enabled */ diff --git a/src/soc/nvidia/tegra210/bootblock.c b/src/soc/nvidia/tegra210/bootblock.c index c10920db04..97ea1c9b08 100644 --- a/src/soc/nvidia/tegra210/bootblock.c +++ b/src/soc/nvidia/tegra210/bootblock.c @@ -26,7 +26,6 @@ #include #include #include -#include #define BCT_OFFSET_IN_BIT 0x4c #define ODMDATA_OFFSET_IN_BCT 0x508 diff --git a/src/soc/nvidia/tegra210/romstage.c b/src/soc/nvidia/tegra210/romstage.c index bce8404707..213d69d6ba 100644 --- a/src/soc/nvidia/tegra210/romstage.c +++ b/src/soc/nvidia/tegra210/romstage.c @@ -29,7 +29,6 @@ #include #include #include -#include #include void __weak romstage_mainboard_init(void) diff --git a/src/soc/qualcomm/ipq40xx/blobs_init.c b/src/soc/qualcomm/ipq40xx/blobs_init.c index d9cb131c8d..761b5714ed 100644 --- a/src/soc/qualcomm/ipq40xx/blobs_init.c +++ b/src/soc/qualcomm/ipq40xx/blobs_init.c @@ -20,7 +20,6 @@ #include #include #include -#include #include #include diff --git a/src/soc/qualcomm/sdm845/clock.c b/src/soc/qualcomm/sdm845/clock.c index c4e5efa64f..bdbcfb827e 100644 --- a/src/soc/qualcomm/sdm845/clock.c +++ b/src/soc/qualcomm/sdm845/clock.c @@ -18,7 +18,6 @@ #include #include #include -#include #include #include diff --git a/src/soc/qualcomm/sdm845/gpio.c b/src/soc/qualcomm/sdm845/gpio.c index 9c3782a09e..a2a6fb9959 100644 --- a/src/soc/qualcomm/sdm845/gpio.c +++ b/src/soc/qualcomm/sdm845/gpio.c @@ -17,7 +17,6 @@ #include #include #include -#include #include diff --git a/src/soc/qualcomm/sdm845/soc.c b/src/soc/qualcomm/sdm845/soc.c index e4eac96276..bc7235f3ed 100644 --- a/src/soc/qualcomm/sdm845/soc.c +++ b/src/soc/qualcomm/sdm845/soc.c @@ -15,7 +15,6 @@ #include #include -#include #include #include diff --git a/src/soc/rockchip/rk3288/bootblock.c b/src/soc/rockchip/rk3288/bootblock.c index 941d8a7650..8988804931 100644 --- a/src/soc/rockchip/rk3288/bootblock.c +++ b/src/soc/rockchip/rk3288/bootblock.c @@ -20,7 +20,6 @@ #include #include #include -#include void bootblock_soc_init(void) {