From 2527648d8c258581bc1c32576d248f15a13b48dd Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Sat, 11 Aug 2018 13:19:23 +0200 Subject: src/mb: Remove some unneeded includes Change-Id: I3108193c0e0b644cecb74ae0c7a7b54e24a75b58 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/28049 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/mainboard/apple/macbook21/mainboard.c | 2 -- src/mainboard/apple/macbook21/romstage.c | 1 - src/mainboard/apple/macbook21/smihandler.c | 1 - src/mainboard/asus/p5gc-mx/romstage.c | 1 - src/mainboard/emulation/qemu-i440fx/romstage.c | 1 - src/mainboard/gigabyte/ga-945gcm-s2l/romstage.c | 1 - src/mainboard/google/beltino/mainboard.c | 1 - src/mainboard/google/butterfly/mainboard.c | 1 - src/mainboard/google/butterfly/romstage.c | 2 -- src/mainboard/google/link/i915.c | 1 - src/mainboard/google/link/mainboard.c | 1 - src/mainboard/google/link/romstage.c | 2 -- src/mainboard/google/parrot/mainboard.c | 1 - src/mainboard/google/parrot/romstage.c | 2 -- src/mainboard/google/rambi/mainboard.c | 1 - src/mainboard/google/slippy/mainboard.c | 1 - src/mainboard/google/stout/mainboard.c | 1 - src/mainboard/google/stout/romstage.c | 2 -- src/mainboard/intel/baskingridge/mainboard.c | 2 -- src/mainboard/intel/bayleybay_fsp/mainboard.c | 3 --- src/mainboard/intel/camelbackmountain_fsp/mainboard.c | 3 --- src/mainboard/intel/cougar_canyon2/mainboard.c | 3 --- src/mainboard/intel/cougar_canyon2/romstage.c | 2 -- src/mainboard/intel/d510mo/mainboard.c | 1 - src/mainboard/intel/emeraldlake2/mainboard.c | 3 --- src/mainboard/intel/emeraldlake2/romstage.c | 3 --- src/mainboard/intel/stargo2/mainboard.c | 2 -- src/mainboard/intel/stargo2/romstage.c | 3 --- src/mainboard/intel/wtm2/mainboard.c | 2 -- src/mainboard/kontron/ktqm77/romstage.c | 2 -- src/mainboard/lenovo/t400/romstage.c | 2 -- src/mainboard/lenovo/t420s/smihandler.c | 1 - src/mainboard/lenovo/t520/romstage.c | 3 --- src/mainboard/lenovo/t520/smihandler.c | 1 - src/mainboard/lenovo/t530/smihandler.c | 1 - src/mainboard/lenovo/t60/mainboard.c | 1 - src/mainboard/lenovo/t60/romstage.c | 1 - src/mainboard/lenovo/x1_carbon_gen1/romstage.c | 2 -- src/mainboard/lenovo/x200/romstage.c | 2 -- src/mainboard/lenovo/x201/mainboard.c | 1 - src/mainboard/lenovo/x201/romstage.c | 1 - src/mainboard/lenovo/x201/smihandler.c | 1 - src/mainboard/lenovo/x220/smihandler.c | 1 - src/mainboard/lenovo/x230/romstage.c | 3 --- src/mainboard/lenovo/x60/mainboard.c | 1 - src/mainboard/lenovo/x60/romstage.c | 1 - src/mainboard/lenovo/z61t/mainboard.c | 1 - src/mainboard/lenovo/z61t/romstage.c | 1 - src/mainboard/ocp/monolake/mainboard.c | 11 ----------- src/mainboard/ocp/wedge100s/mainboard.c | 11 ----------- src/mainboard/packardbell/ms2290/mainboard.c | 2 -- src/mainboard/packardbell/ms2290/romstage.c | 1 - src/mainboard/packardbell/ms2290/smihandler.c | 2 -- src/mainboard/roda/rk9/romstage.c | 1 - src/mainboard/samsung/lumpy/mainboard.c | 3 --- src/mainboard/samsung/lumpy/romstage.c | 2 -- src/mainboard/samsung/stumpy/mainboard.c | 10 ---------- src/mainboard/samsung/stumpy/romstage.c | 1 - src/mainboard/siemens/mc_bdx1/mainboard.c | 1 - src/mainboard/siemens/mc_tcu3/mainboard.c | 2 -- 60 files changed, 124 deletions(-) (limited to 'src') diff --git a/src/mainboard/apple/macbook21/mainboard.c b/src/mainboard/apple/macbook21/mainboard.c index c5ed0485f9..eb963eef19 100644 --- a/src/mainboard/apple/macbook21/mainboard.c +++ b/src/mainboard/apple/macbook21/mainboard.c @@ -15,7 +15,6 @@ * GNU General Public License for more details. */ -#include #include #include #include @@ -25,7 +24,6 @@ #include #include #include -#include #include #include #include diff --git a/src/mainboard/apple/macbook21/romstage.c b/src/mainboard/apple/macbook21/romstage.c index 19e62d3ecc..ee322ae353 100644 --- a/src/mainboard/apple/macbook21/romstage.c +++ b/src/mainboard/apple/macbook21/romstage.c @@ -26,7 +26,6 @@ #include #include #include -#include #include #include #include diff --git a/src/mainboard/apple/macbook21/smihandler.c b/src/mainboard/apple/macbook21/smihandler.c index 727dad3878..93920f22d3 100644 --- a/src/mainboard/apple/macbook21/smihandler.c +++ b/src/mainboard/apple/macbook21/smihandler.c @@ -19,7 +19,6 @@ #include #include #include -#include #include #define GPE_EC_SCI 12 diff --git a/src/mainboard/asus/p5gc-mx/romstage.c b/src/mainboard/asus/p5gc-mx/romstage.c index 35f72081f5..dacc396cd2 100644 --- a/src/mainboard/asus/p5gc-mx/romstage.c +++ b/src/mainboard/asus/p5gc-mx/romstage.c @@ -28,7 +28,6 @@ #include #include #include -#include #include #include #include diff --git a/src/mainboard/emulation/qemu-i440fx/romstage.c b/src/mainboard/emulation/qemu-i440fx/romstage.c index 9030698b9b..ce12a8bc6a 100644 --- a/src/mainboard/emulation/qemu-i440fx/romstage.c +++ b/src/mainboard/emulation/qemu-i440fx/romstage.c @@ -18,7 +18,6 @@ #include #include #include -#include #include #include #include diff --git a/src/mainboard/gigabyte/ga-945gcm-s2l/romstage.c b/src/mainboard/gigabyte/ga-945gcm-s2l/romstage.c index 56ef561370..49a25afcaa 100644 --- a/src/mainboard/gigabyte/ga-945gcm-s2l/romstage.c +++ b/src/mainboard/gigabyte/ga-945gcm-s2l/romstage.c @@ -27,7 +27,6 @@ #include #include #include -#include #include #include #include diff --git a/src/mainboard/google/beltino/mainboard.c b/src/mainboard/google/beltino/mainboard.c index eb1d31c657..ae51d9e860 100644 --- a/src/mainboard/google/beltino/mainboard.c +++ b/src/mainboard/google/beltino/mainboard.c @@ -26,7 +26,6 @@ #include #include #include -#include #include #include #include "onboard.h" diff --git a/src/mainboard/google/butterfly/mainboard.c b/src/mainboard/google/butterfly/mainboard.c index e7235ed702..993c5e82fe 100644 --- a/src/mainboard/google/butterfly/mainboard.c +++ b/src/mainboard/google/butterfly/mainboard.c @@ -23,7 +23,6 @@ #include #include #include -#include #include #include #include diff --git a/src/mainboard/google/butterfly/romstage.c b/src/mainboard/google/butterfly/romstage.c index b6f926311e..d68a46cdc0 100644 --- a/src/mainboard/google/butterfly/romstage.c +++ b/src/mainboard/google/butterfly/romstage.c @@ -22,7 +22,6 @@ #include #include #include -#include #include #include #include @@ -31,7 +30,6 @@ #include #include #include -#include #include #if IS_ENABLED(CONFIG_CHROMEOS) #include diff --git a/src/mainboard/google/link/i915.c b/src/mainboard/google/link/i915.c index 755fecb313..da6d69891a 100644 --- a/src/mainboard/google/link/i915.c +++ b/src/mainboard/google/link/i915.c @@ -22,7 +22,6 @@ #include #include #include -#include #include #include #include diff --git a/src/mainboard/google/link/mainboard.c b/src/mainboard/google/link/mainboard.c index ce61912ae7..6f529da521 100644 --- a/src/mainboard/google/link/mainboard.c +++ b/src/mainboard/google/link/mainboard.c @@ -24,7 +24,6 @@ #if IS_ENABLED(CONFIG_VGA_ROM_RUN) #include #endif -#include #include #include #include diff --git a/src/mainboard/google/link/romstage.c b/src/mainboard/google/link/romstage.c index e09525407e..495c80ee6d 100644 --- a/src/mainboard/google/link/romstage.c +++ b/src/mainboard/google/link/romstage.c @@ -23,7 +23,6 @@ #include #include #include -#include #include #include #include @@ -32,7 +31,6 @@ #include #include "ec/google/chromeec/ec.h" #include -#include #include #include diff --git a/src/mainboard/google/parrot/mainboard.c b/src/mainboard/google/parrot/mainboard.c index 9940c14f4a..e245e09a81 100644 --- a/src/mainboard/google/parrot/mainboard.c +++ b/src/mainboard/google/parrot/mainboard.c @@ -21,7 +21,6 @@ #include #include #include -#include #include #include #include diff --git a/src/mainboard/google/parrot/romstage.c b/src/mainboard/google/parrot/romstage.c index b5b084b456..163f4c32d0 100644 --- a/src/mainboard/google/parrot/romstage.c +++ b/src/mainboard/google/parrot/romstage.c @@ -22,7 +22,6 @@ #include #include #include -#include #include #include #include @@ -31,7 +30,6 @@ #include #include #include -#include #include #include #include "ec/compal/ene932/ec.h" diff --git a/src/mainboard/google/rambi/mainboard.c b/src/mainboard/google/rambi/mainboard.c index 32ef9605e2..eb2e6abb42 100644 --- a/src/mainboard/google/rambi/mainboard.c +++ b/src/mainboard/google/rambi/mainboard.c @@ -24,7 +24,6 @@ #if IS_ENABLED(CONFIG_VGA_ROM_RUN) #include #endif -#include #include #include #include diff --git a/src/mainboard/google/slippy/mainboard.c b/src/mainboard/google/slippy/mainboard.c index cfe0917511..9443d2825d 100644 --- a/src/mainboard/google/slippy/mainboard.c +++ b/src/mainboard/google/slippy/mainboard.c @@ -23,7 +23,6 @@ #include #include #include -#include #include #include #include diff --git a/src/mainboard/google/stout/mainboard.c b/src/mainboard/google/stout/mainboard.c index 399e2b4b31..d2925a8a33 100644 --- a/src/mainboard/google/stout/mainboard.c +++ b/src/mainboard/google/stout/mainboard.c @@ -21,7 +21,6 @@ #include #include #include -#include #include #include #include diff --git a/src/mainboard/google/stout/romstage.c b/src/mainboard/google/stout/romstage.c index 20914ec7c0..d56dfd40be 100644 --- a/src/mainboard/google/stout/romstage.c +++ b/src/mainboard/google/stout/romstage.c @@ -22,7 +22,6 @@ #include #include #include -#include #include #include #include @@ -31,7 +30,6 @@ #include #include #include -#include #include #include #include diff --git a/src/mainboard/intel/baskingridge/mainboard.c b/src/mainboard/intel/baskingridge/mainboard.c index ec80a42297..869a6cc314 100644 --- a/src/mainboard/intel/baskingridge/mainboard.c +++ b/src/mainboard/intel/baskingridge/mainboard.c @@ -20,9 +20,7 @@ #include #include #include -#include #include -#include #include #include #include diff --git a/src/mainboard/intel/bayleybay_fsp/mainboard.c b/src/mainboard/intel/bayleybay_fsp/mainboard.c index 996be0f0a7..0330d82db6 100644 --- a/src/mainboard/intel/bayleybay_fsp/mainboard.c +++ b/src/mainboard/intel/bayleybay_fsp/mainboard.c @@ -17,14 +17,11 @@ #include #include #include -#include #include #include -#include #if IS_ENABLED(CONFIG_VGA_ROM_RUN) #include #endif -#include #include #include #include diff --git a/src/mainboard/intel/camelbackmountain_fsp/mainboard.c b/src/mainboard/intel/camelbackmountain_fsp/mainboard.c index 395480b3bb..c5db452264 100644 --- a/src/mainboard/intel/camelbackmountain_fsp/mainboard.c +++ b/src/mainboard/intel/camelbackmountain_fsp/mainboard.c @@ -17,14 +17,11 @@ #include #include #include -#include #include #include -#include #if IS_ENABLED(CONFIG_VGA_ROM_RUN) #include #endif -#include #include #include #include diff --git a/src/mainboard/intel/cougar_canyon2/mainboard.c b/src/mainboard/intel/cougar_canyon2/mainboard.c index 829a9620b9..07c39e013f 100644 --- a/src/mainboard/intel/cougar_canyon2/mainboard.c +++ b/src/mainboard/intel/cougar_canyon2/mainboard.c @@ -17,12 +17,9 @@ #include #include #include -#include #include #include -#include #include -#include #include #include #include diff --git a/src/mainboard/intel/cougar_canyon2/romstage.c b/src/mainboard/intel/cougar_canyon2/romstage.c index 54d2c04f4f..9d3b478f2f 100644 --- a/src/mainboard/intel/cougar_canyon2/romstage.c +++ b/src/mainboard/intel/cougar_canyon2/romstage.c @@ -24,7 +24,6 @@ #include #include #include -#include #include #include #include @@ -38,7 +37,6 @@ #include #include #include -#include #include "gpio.h" #define SIO_PORT 0x164e diff --git a/src/mainboard/intel/d510mo/mainboard.c b/src/mainboard/intel/d510mo/mainboard.c index 26d3dc199e..d2751bc119 100644 --- a/src/mainboard/intel/d510mo/mainboard.c +++ b/src/mainboard/intel/d510mo/mainboard.c @@ -16,7 +16,6 @@ #include #include #include -#include #include #include diff --git a/src/mainboard/intel/emeraldlake2/mainboard.c b/src/mainboard/intel/emeraldlake2/mainboard.c index 7ea1c5119d..d5a43567b2 100644 --- a/src/mainboard/intel/emeraldlake2/mainboard.c +++ b/src/mainboard/intel/emeraldlake2/mainboard.c @@ -17,12 +17,9 @@ #include #include #include -#include #include #include -#include #include -#include #include #include #include diff --git a/src/mainboard/intel/emeraldlake2/romstage.c b/src/mainboard/intel/emeraldlake2/romstage.c index fcb2b2cc27..a672294ae0 100644 --- a/src/mainboard/intel/emeraldlake2/romstage.c +++ b/src/mainboard/intel/emeraldlake2/romstage.c @@ -22,9 +22,7 @@ #include #include #include -#include #include -#include #include #include #include @@ -32,7 +30,6 @@ #include #include #include -#include #include #define SIO_PORT 0x164e diff --git a/src/mainboard/intel/stargo2/mainboard.c b/src/mainboard/intel/stargo2/mainboard.c index 408e49c269..da93acd503 100644 --- a/src/mainboard/intel/stargo2/mainboard.c +++ b/src/mainboard/intel/stargo2/mainboard.c @@ -20,8 +20,6 @@ #include #include #include -#include -#include #include #include #include diff --git a/src/mainboard/intel/stargo2/romstage.c b/src/mainboard/intel/stargo2/romstage.c index b873aca11f..cdf087aa3f 100644 --- a/src/mainboard/intel/stargo2/romstage.c +++ b/src/mainboard/intel/stargo2/romstage.c @@ -24,9 +24,6 @@ #include #include #include -#include -#include -#include #include #include #include diff --git a/src/mainboard/intel/wtm2/mainboard.c b/src/mainboard/intel/wtm2/mainboard.c index 177eca0f5d..6ec6daba10 100644 --- a/src/mainboard/intel/wtm2/mainboard.c +++ b/src/mainboard/intel/wtm2/mainboard.c @@ -20,9 +20,7 @@ #include #include #include -#include #include -#include #include #include #include diff --git a/src/mainboard/kontron/ktqm77/romstage.c b/src/mainboard/kontron/ktqm77/romstage.c index 32575c8f69..bb3eaa6606 100644 --- a/src/mainboard/kontron/ktqm77/romstage.c +++ b/src/mainboard/kontron/ktqm77/romstage.c @@ -22,9 +22,7 @@ #include #include #include -#include #include -#include #include #include #include diff --git a/src/mainboard/lenovo/t400/romstage.c b/src/mainboard/lenovo/t400/romstage.c index fd3544eb54..1974ab6c7d 100644 --- a/src/mainboard/lenovo/t400/romstage.c +++ b/src/mainboard/lenovo/t400/romstage.c @@ -21,12 +21,10 @@ #include #include #include -#include #include #include #include #include -#include #include #include #include diff --git a/src/mainboard/lenovo/t420s/smihandler.c b/src/mainboard/lenovo/t420s/smihandler.c index 0b48807f2e..c34cb5b313 100644 --- a/src/mainboard/lenovo/t420s/smihandler.c +++ b/src/mainboard/lenovo/t420s/smihandler.c @@ -19,7 +19,6 @@ #include #include #include -#include #include #include #include diff --git a/src/mainboard/lenovo/t520/romstage.c b/src/mainboard/lenovo/t520/romstage.c index 9f0c4d9d65..328ae37abd 100644 --- a/src/mainboard/lenovo/t520/romstage.c +++ b/src/mainboard/lenovo/t520/romstage.c @@ -24,15 +24,12 @@ #include #include #include -#include #include -#include #include #include #include #include #include -#include #include #include #include diff --git a/src/mainboard/lenovo/t520/smihandler.c b/src/mainboard/lenovo/t520/smihandler.c index 387e305b98..4e61a98be7 100644 --- a/src/mainboard/lenovo/t520/smihandler.c +++ b/src/mainboard/lenovo/t520/smihandler.c @@ -19,7 +19,6 @@ #include #include #include -#include #include #include #include diff --git a/src/mainboard/lenovo/t530/smihandler.c b/src/mainboard/lenovo/t530/smihandler.c index 297e1f1482..0491392bcc 100644 --- a/src/mainboard/lenovo/t530/smihandler.c +++ b/src/mainboard/lenovo/t530/smihandler.c @@ -19,7 +19,6 @@ #include #include #include -#include #include #include #include diff --git a/src/mainboard/lenovo/t60/mainboard.c b/src/mainboard/lenovo/t60/mainboard.c index 167ffb29ed..bb52c87986 100644 --- a/src/mainboard/lenovo/t60/mainboard.c +++ b/src/mainboard/lenovo/t60/mainboard.c @@ -21,7 +21,6 @@ #include #include #include -#include #include #include diff --git a/src/mainboard/lenovo/t60/romstage.c b/src/mainboard/lenovo/t60/romstage.c index af7998049a..e4a8efb608 100644 --- a/src/mainboard/lenovo/t60/romstage.c +++ b/src/mainboard/lenovo/t60/romstage.c @@ -26,7 +26,6 @@ #include #include #include -#include #include #include #include diff --git a/src/mainboard/lenovo/x1_carbon_gen1/romstage.c b/src/mainboard/lenovo/x1_carbon_gen1/romstage.c index 49ed6b2081..c12c1fcabf 100644 --- a/src/mainboard/lenovo/x1_carbon_gen1/romstage.c +++ b/src/mainboard/lenovo/x1_carbon_gen1/romstage.c @@ -25,7 +25,6 @@ #include #include #include -#include #include #include #include @@ -33,7 +32,6 @@ #include #include #include -#include #include void pch_enable_lpc(void) diff --git a/src/mainboard/lenovo/x200/romstage.c b/src/mainboard/lenovo/x200/romstage.c index 71de5504db..8c3e2b2c3f 100644 --- a/src/mainboard/lenovo/x200/romstage.c +++ b/src/mainboard/lenovo/x200/romstage.c @@ -21,12 +21,10 @@ #include #include #include -#include #include #include #include #include -#include #include #include #include diff --git a/src/mainboard/lenovo/x201/mainboard.c b/src/mainboard/lenovo/x201/mainboard.c index 5d0deea263..4b01ada146 100644 --- a/src/mainboard/lenovo/x201/mainboard.c +++ b/src/mainboard/lenovo/x201/mainboard.c @@ -23,7 +23,6 @@ #include #include -#include #include "dock.h" #include #include diff --git a/src/mainboard/lenovo/x201/romstage.c b/src/mainboard/lenovo/x201/romstage.c index 1b49eb886e..8752949f5f 100644 --- a/src/mainboard/lenovo/x201/romstage.c +++ b/src/mainboard/lenovo/x201/romstage.c @@ -25,7 +25,6 @@ #include #include #include -#include #include #include #include diff --git a/src/mainboard/lenovo/x201/smihandler.c b/src/mainboard/lenovo/x201/smihandler.c index 93cc2b73dc..fbbec09adc 100644 --- a/src/mainboard/lenovo/x201/smihandler.c +++ b/src/mainboard/lenovo/x201/smihandler.c @@ -23,7 +23,6 @@ #include #include #include -#include #include #include #include "dock.h" diff --git a/src/mainboard/lenovo/x220/smihandler.c b/src/mainboard/lenovo/x220/smihandler.c index 297e1f1482..0491392bcc 100644 --- a/src/mainboard/lenovo/x220/smihandler.c +++ b/src/mainboard/lenovo/x220/smihandler.c @@ -19,7 +19,6 @@ #include #include #include -#include #include #include #include diff --git a/src/mainboard/lenovo/x230/romstage.c b/src/mainboard/lenovo/x230/romstage.c index fb0494c5aa..1ddaedfef2 100644 --- a/src/mainboard/lenovo/x230/romstage.c +++ b/src/mainboard/lenovo/x230/romstage.c @@ -24,15 +24,12 @@ #include #include #include -#include #include -#include #include #include #include #include #include -#include #include void pch_enable_lpc(void) diff --git a/src/mainboard/lenovo/x60/mainboard.c b/src/mainboard/lenovo/x60/mainboard.c index 925779e0e4..96d8062fbf 100644 --- a/src/mainboard/lenovo/x60/mainboard.c +++ b/src/mainboard/lenovo/x60/mainboard.c @@ -22,7 +22,6 @@ #include #include #include -#include #include "dock.h" #include #include diff --git a/src/mainboard/lenovo/x60/romstage.c b/src/mainboard/lenovo/x60/romstage.c index 1cdce8c8aa..81ee5da7d3 100644 --- a/src/mainboard/lenovo/x60/romstage.c +++ b/src/mainboard/lenovo/x60/romstage.c @@ -26,7 +26,6 @@ #include #include #include -#include #include #include #include diff --git a/src/mainboard/lenovo/z61t/mainboard.c b/src/mainboard/lenovo/z61t/mainboard.c index be4cf3cb7e..5a565e06c2 100644 --- a/src/mainboard/lenovo/z61t/mainboard.c +++ b/src/mainboard/lenovo/z61t/mainboard.c @@ -21,7 +21,6 @@ #include #include #include -#include #include #include diff --git a/src/mainboard/lenovo/z61t/romstage.c b/src/mainboard/lenovo/z61t/romstage.c index cd5b25bad8..94c8a8fe03 100644 --- a/src/mainboard/lenovo/z61t/romstage.c +++ b/src/mainboard/lenovo/z61t/romstage.c @@ -26,7 +26,6 @@ #include #include #include -#include #include #include #include diff --git a/src/mainboard/ocp/monolake/mainboard.c b/src/mainboard/ocp/monolake/mainboard.c index 395480b3bb..f1a3a208ee 100644 --- a/src/mainboard/ocp/monolake/mainboard.c +++ b/src/mainboard/ocp/monolake/mainboard.c @@ -14,21 +14,10 @@ * GNU General Public License for more details. */ -#include -#include #include -#include -#include -#include -#include #if IS_ENABLED(CONFIG_VGA_ROM_RUN) #include #endif -#include -#include -#include -#include -#include /* * mainboard_enable is executed as first thing after enumerate_buses(). diff --git a/src/mainboard/ocp/wedge100s/mainboard.c b/src/mainboard/ocp/wedge100s/mainboard.c index 395480b3bb..f1a3a208ee 100644 --- a/src/mainboard/ocp/wedge100s/mainboard.c +++ b/src/mainboard/ocp/wedge100s/mainboard.c @@ -14,21 +14,10 @@ * GNU General Public License for more details. */ -#include -#include #include -#include -#include -#include -#include #if IS_ENABLED(CONFIG_VGA_ROM_RUN) #include #endif -#include -#include -#include -#include -#include /* * mainboard_enable is executed as first thing after enumerate_buses(). diff --git a/src/mainboard/packardbell/ms2290/mainboard.c b/src/mainboard/packardbell/ms2290/mainboard.c index b98b166e33..2691b676f4 100644 --- a/src/mainboard/packardbell/ms2290/mainboard.c +++ b/src/mainboard/packardbell/ms2290/mainboard.c @@ -27,8 +27,6 @@ #include #include #include - -#include #include #include #include diff --git a/src/mainboard/packardbell/ms2290/romstage.c b/src/mainboard/packardbell/ms2290/romstage.c index 676c051232..56f11a1e0c 100644 --- a/src/mainboard/packardbell/ms2290/romstage.c +++ b/src/mainboard/packardbell/ms2290/romstage.c @@ -25,7 +25,6 @@ #include #include #include -#include #include #include #include diff --git a/src/mainboard/packardbell/ms2290/smihandler.c b/src/mainboard/packardbell/ms2290/smihandler.c index e94b61b310..926650a358 100644 --- a/src/mainboard/packardbell/ms2290/smihandler.c +++ b/src/mainboard/packardbell/ms2290/smihandler.c @@ -14,7 +14,6 @@ * GNU General Public License for more details. */ -#include #include #include #include @@ -23,7 +22,6 @@ #include #include #include -#include #include static void mainboard_smm_init(void) diff --git a/src/mainboard/roda/rk9/romstage.c b/src/mainboard/roda/rk9/romstage.c index 65ff0f8a84..4f6c5b75cb 100644 --- a/src/mainboard/roda/rk9/romstage.c +++ b/src/mainboard/roda/rk9/romstage.c @@ -26,7 +26,6 @@ #include #include #include -#include #include #include #include diff --git a/src/mainboard/samsung/lumpy/mainboard.c b/src/mainboard/samsung/lumpy/mainboard.c index 0a006128a4..86642172dc 100644 --- a/src/mainboard/samsung/lumpy/mainboard.c +++ b/src/mainboard/samsung/lumpy/mainboard.c @@ -19,11 +19,8 @@ #include #include #include -#include #include -#include #include -#include #include #include #include diff --git a/src/mainboard/samsung/lumpy/romstage.c b/src/mainboard/samsung/lumpy/romstage.c index ba25d54ace..4d5b667c58 100644 --- a/src/mainboard/samsung/lumpy/romstage.c +++ b/src/mainboard/samsung/lumpy/romstage.c @@ -22,7 +22,6 @@ #include #include #include -#include #include #include #include @@ -33,7 +32,6 @@ #include #include #include -#include #include #include "option_table.h" #if IS_ENABLED(CONFIG_DRIVERS_UART_8250IO) diff --git a/src/mainboard/samsung/stumpy/mainboard.c b/src/mainboard/samsung/stumpy/mainboard.c index 7ea1c5119d..a62ad12c8d 100644 --- a/src/mainboard/samsung/stumpy/mainboard.c +++ b/src/mainboard/samsung/stumpy/mainboard.c @@ -14,19 +14,9 @@ * GNU General Public License for more details. */ -#include -#include #include -#include -#include -#include -#include #include -#include #include -#include -#include -#include #include #include diff --git a/src/mainboard/samsung/stumpy/romstage.c b/src/mainboard/samsung/stumpy/romstage.c index 5f56a3e1db..bb11761f1d 100644 --- a/src/mainboard/samsung/stumpy/romstage.c +++ b/src/mainboard/samsung/stumpy/romstage.c @@ -34,7 +34,6 @@ #include #include #include -#include #include #if IS_ENABLED(CONFIG_DRIVERS_UART_8250IO) #include diff --git a/src/mainboard/siemens/mc_bdx1/mainboard.c b/src/mainboard/siemens/mc_bdx1/mainboard.c index 73290d5755..1e6acc7745 100644 --- a/src/mainboard/siemens/mc_bdx1/mainboard.c +++ b/src/mainboard/siemens/mc_bdx1/mainboard.c @@ -26,7 +26,6 @@ #if IS_ENABLED(CONFIG_VGA_ROM_RUN) #include #endif -#include #include #include #include diff --git a/src/mainboard/siemens/mc_tcu3/mainboard.c b/src/mainboard/siemens/mc_tcu3/mainboard.c index 1f6731992f..bd15af7614 100644 --- a/src/mainboard/siemens/mc_tcu3/mainboard.c +++ b/src/mainboard/siemens/mc_tcu3/mainboard.c @@ -17,14 +17,12 @@ #include #include #include -#include #include #include #include #if IS_ENABLED(CONFIG_VGA_ROM_RUN) #include #endif -#include #include #include #include -- cgit v1.2.3