From 88d3ec222b193e2332c021a7495d93aa93f5eb06 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Wed, 6 Jun 2018 18:01:30 +0200 Subject: mb/*/*/acpi_tables.c: Remove unneeded includes Change-Id: If1f032d097224a1102ba29d8d45dce46aad3a91a Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/26907 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/mainboard/apple/macbook21/acpi_tables.c | 13 ++----------- src/mainboard/asrock/g41c-gs/acpi_tables.c | 5 ++--- src/mainboard/foxconn/g41s-k/acpi_tables.c | 3 +-- src/mainboard/gigabyte/ga-945gcm-s2l/acpi_tables.c | 14 ++------------ src/mainboard/gigabyte/ga-b75m-d3h/acpi_tables.c | 12 ------------ src/mainboard/gigabyte/ga-b75m-d3v/acpi_tables.c | 12 ------------ src/mainboard/gigabyte/ga-g41m-es2l/acpi_tables.c | 13 ++----------- src/mainboard/google/butterfly/acpi_tables.c | 17 ++--------------- src/mainboard/google/link/acpi_tables.c | 19 +++---------------- src/mainboard/ibase/mb899/acpi_tables.c | 13 ++----------- src/mainboard/intel/d945gclf/acpi_tables.c | 14 ++------------ src/mainboard/intel/dg43gt/acpi_tables.c | 12 ++---------- src/mainboard/kontron/986lcd-m/acpi_tables.c | 13 ++----------- src/mainboard/kontron/ktqm77/acpi_tables.c | 13 ------------- src/mainboard/lenovo/l520/acpi_tables.c | 2 +- src/mainboard/lenovo/t420/acpi_tables.c | 1 - src/mainboard/lenovo/t420s/acpi_tables.c | 13 ------------- src/mainboard/lenovo/t430s/acpi_tables.c | 1 - src/mainboard/lenovo/t520/acpi_tables.c | 13 ------------- src/mainboard/lenovo/t530/acpi_tables.c | 13 ------------- src/mainboard/lenovo/t60/acpi_tables.c | 13 ++----------- src/mainboard/lenovo/x1_carbon_gen1/acpi_tables.c | 15 --------------- src/mainboard/lenovo/x201/acpi_tables.c | 13 ++----------- src/mainboard/lenovo/x220/acpi_tables.c | 13 ------------- src/mainboard/lenovo/x230/acpi_tables.c | 13 ------------- src/mainboard/lenovo/x60/acpi_tables.c | 13 ++----------- src/mainboard/lenovo/z61t/acpi_tables.c | 13 ++----------- src/mainboard/packardbell/ms2290/acpi_tables.c | 13 ++----------- src/mainboard/roda/rk886ex/acpi_tables.c | 13 ++----------- 29 files changed, 35 insertions(+), 300 deletions(-) (limited to 'src') diff --git a/src/mainboard/apple/macbook21/acpi_tables.c b/src/mainboard/apple/macbook21/acpi_tables.c index b5b51a045d..3e9a81042e 100644 --- a/src/mainboard/apple/macbook21/acpi_tables.c +++ b/src/mainboard/apple/macbook21/acpi_tables.c @@ -14,18 +14,9 @@ * GNU General Public License for more details. */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include -#include "southbridge/intel/i82801gx/nvs.h" void acpi_create_gnvs(global_nvs_t *gnvs) { /* Enable both COM ports */ diff --git a/src/mainboard/asrock/g41c-gs/acpi_tables.c b/src/mainboard/asrock/g41c-gs/acpi_tables.c index d80fb4c343..189c662296 100644 --- a/src/mainboard/asrock/g41c-gs/acpi_tables.c +++ b/src/mainboard/asrock/g41c-gs/acpi_tables.c @@ -14,10 +14,9 @@ * GNU General Public License for more details. */ -#include #include - -#include "southbridge/intel/i82801gx/nvs.h" +#include +#include void acpi_create_gnvs(global_nvs_t *gnvs) { diff --git a/src/mainboard/foxconn/g41s-k/acpi_tables.c b/src/mainboard/foxconn/g41s-k/acpi_tables.c index d9935e9237..c2b9714488 100644 --- a/src/mainboard/foxconn/g41s-k/acpi_tables.c +++ b/src/mainboard/foxconn/g41s-k/acpi_tables.c @@ -17,8 +17,7 @@ #include #include - -#include "southbridge/intel/i82801gx/nvs.h" +#include void acpi_create_gnvs(global_nvs_t *gnvs) { diff --git a/src/mainboard/gigabyte/ga-945gcm-s2l/acpi_tables.c b/src/mainboard/gigabyte/ga-945gcm-s2l/acpi_tables.c index 936ef2638b..ba3995ed16 100644 --- a/src/mainboard/gigabyte/ga-945gcm-s2l/acpi_tables.c +++ b/src/mainboard/gigabyte/ga-945gcm-s2l/acpi_tables.c @@ -13,18 +13,8 @@ * GNU General Public License for more details. */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "southbridge/intel/i82801gx/nvs.h" +#include +#include void acpi_create_gnvs(global_nvs_t *gnvs) { diff --git a/src/mainboard/gigabyte/ga-b75m-d3h/acpi_tables.c b/src/mainboard/gigabyte/ga-b75m-d3h/acpi_tables.c index bbf3241edb..2d7b43fa66 100644 --- a/src/mainboard/gigabyte/ga-b75m-d3h/acpi_tables.c +++ b/src/mainboard/gigabyte/ga-b75m-d3h/acpi_tables.c @@ -13,19 +13,7 @@ * GNU General Public License for more details. */ -#include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include #include #include "thermal.h" diff --git a/src/mainboard/gigabyte/ga-b75m-d3v/acpi_tables.c b/src/mainboard/gigabyte/ga-b75m-d3v/acpi_tables.c index bbf3241edb..2d7b43fa66 100644 --- a/src/mainboard/gigabyte/ga-b75m-d3v/acpi_tables.c +++ b/src/mainboard/gigabyte/ga-b75m-d3v/acpi_tables.c @@ -13,19 +13,7 @@ * GNU General Public License for more details. */ -#include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include #include #include "thermal.h" diff --git a/src/mainboard/gigabyte/ga-g41m-es2l/acpi_tables.c b/src/mainboard/gigabyte/ga-g41m-es2l/acpi_tables.c index b0ee271959..cab4ee253c 100644 --- a/src/mainboard/gigabyte/ga-g41m-es2l/acpi_tables.c +++ b/src/mainboard/gigabyte/ga-g41m-es2l/acpi_tables.c @@ -14,18 +14,9 @@ * GNU General Public License for more details. */ -#include +#include #include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "southbridge/intel/i82801gx/nvs.h" +#include void acpi_create_gnvs(global_nvs_t *gnvs) { diff --git a/src/mainboard/google/butterfly/acpi_tables.c b/src/mainboard/google/butterfly/acpi_tables.c index e13223270c..93455260c0 100644 --- a/src/mainboard/google/butterfly/acpi_tables.c +++ b/src/mainboard/google/butterfly/acpi_tables.c @@ -13,22 +13,9 @@ * GNU General Public License for more details. */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include +#include #include +#include #include "thermal.h" static void acpi_update_thermal_table(global_nvs_t *gnvs) diff --git a/src/mainboard/google/link/acpi_tables.c b/src/mainboard/google/link/acpi_tables.c index 28d9922281..f6f36117ca 100644 --- a/src/mainboard/google/link/acpi_tables.c +++ b/src/mainboard/google/link/acpi_tables.c @@ -13,23 +13,10 @@ * GNU General Public License for more details. */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include +#include #include +#include +#include #include "thermal.h" static void acpi_update_thermal_table(global_nvs_t *gnvs) diff --git a/src/mainboard/ibase/mb899/acpi_tables.c b/src/mainboard/ibase/mb899/acpi_tables.c index 9d9dde1934..f41b8473e1 100644 --- a/src/mainboard/ibase/mb899/acpi_tables.c +++ b/src/mainboard/ibase/mb899/acpi_tables.c @@ -13,18 +13,9 @@ * GNU General Public License for more details. */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include -#include "southbridge/intel/i82801gx/nvs.h" void acpi_create_gnvs(global_nvs_t *gnvs) { /* Enable both COM ports */ diff --git a/src/mainboard/intel/d945gclf/acpi_tables.c b/src/mainboard/intel/d945gclf/acpi_tables.c index 936ef2638b..ba3995ed16 100644 --- a/src/mainboard/intel/d945gclf/acpi_tables.c +++ b/src/mainboard/intel/d945gclf/acpi_tables.c @@ -13,18 +13,8 @@ * GNU General Public License for more details. */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "southbridge/intel/i82801gx/nvs.h" +#include +#include void acpi_create_gnvs(global_nvs_t *gnvs) { diff --git a/src/mainboard/intel/dg43gt/acpi_tables.c b/src/mainboard/intel/dg43gt/acpi_tables.c index b96c1b965f..d609a0e1d9 100644 --- a/src/mainboard/intel/dg43gt/acpi_tables.c +++ b/src/mainboard/intel/dg43gt/acpi_tables.c @@ -14,17 +14,9 @@ * GNU General Public License for more details. */ +#include #include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "southbridge/intel/i82801jx/nvs.h" +#include void acpi_create_gnvs(global_nvs_t *gnvs) { diff --git a/src/mainboard/kontron/986lcd-m/acpi_tables.c b/src/mainboard/kontron/986lcd-m/acpi_tables.c index 9d9dde1934..f41b8473e1 100644 --- a/src/mainboard/kontron/986lcd-m/acpi_tables.c +++ b/src/mainboard/kontron/986lcd-m/acpi_tables.c @@ -13,18 +13,9 @@ * GNU General Public License for more details. */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include -#include "southbridge/intel/i82801gx/nvs.h" void acpi_create_gnvs(global_nvs_t *gnvs) { /* Enable both COM ports */ diff --git a/src/mainboard/kontron/ktqm77/acpi_tables.c b/src/mainboard/kontron/ktqm77/acpi_tables.c index 312557ca24..f872be7fe7 100644 --- a/src/mainboard/kontron/ktqm77/acpi_tables.c +++ b/src/mainboard/kontron/ktqm77/acpi_tables.c @@ -13,19 +13,6 @@ * GNU General Public License for more details. */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include #include #include "thermal.h" diff --git a/src/mainboard/lenovo/l520/acpi_tables.c b/src/mainboard/lenovo/l520/acpi_tables.c index 9ce40fbcfe..b86186404c 100644 --- a/src/mainboard/lenovo/l520/acpi_tables.c +++ b/src/mainboard/lenovo/l520/acpi_tables.c @@ -15,7 +15,7 @@ * GNU General Public License for more details. */ -#include + #include #include "thermal.h" diff --git a/src/mainboard/lenovo/t420/acpi_tables.c b/src/mainboard/lenovo/t420/acpi_tables.c index b84b28776a..a5d298c26b 100644 --- a/src/mainboard/lenovo/t420/acpi_tables.c +++ b/src/mainboard/lenovo/t420/acpi_tables.c @@ -13,7 +13,6 @@ * GNU General Public License for more details. */ -#include #include #include "thermal.h" diff --git a/src/mainboard/lenovo/t420s/acpi_tables.c b/src/mainboard/lenovo/t420s/acpi_tables.c index 1a6cb83877..279674d002 100644 --- a/src/mainboard/lenovo/t420s/acpi_tables.c +++ b/src/mainboard/lenovo/t420s/acpi_tables.c @@ -13,19 +13,6 @@ * GNU General Public License for more details. */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include #include #include "thermal.h" diff --git a/src/mainboard/lenovo/t430s/acpi_tables.c b/src/mainboard/lenovo/t430s/acpi_tables.c index 93f1a6454f..279674d002 100644 --- a/src/mainboard/lenovo/t430s/acpi_tables.c +++ b/src/mainboard/lenovo/t430s/acpi_tables.c @@ -13,7 +13,6 @@ * GNU General Public License for more details. */ -#include #include #include "thermal.h" diff --git a/src/mainboard/lenovo/t520/acpi_tables.c b/src/mainboard/lenovo/t520/acpi_tables.c index b1c473354e..a3b0894bcc 100644 --- a/src/mainboard/lenovo/t520/acpi_tables.c +++ b/src/mainboard/lenovo/t520/acpi_tables.c @@ -13,19 +13,6 @@ * GNU General Public License for more details. */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include #include #include "thermal.h" diff --git a/src/mainboard/lenovo/t530/acpi_tables.c b/src/mainboard/lenovo/t530/acpi_tables.c index b1c473354e..a3b0894bcc 100644 --- a/src/mainboard/lenovo/t530/acpi_tables.c +++ b/src/mainboard/lenovo/t530/acpi_tables.c @@ -13,19 +13,6 @@ * GNU General Public License for more details. */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include #include #include "thermal.h" diff --git a/src/mainboard/lenovo/t60/acpi_tables.c b/src/mainboard/lenovo/t60/acpi_tables.c index d29a6ccb9d..183b7fe299 100644 --- a/src/mainboard/lenovo/t60/acpi_tables.c +++ b/src/mainboard/lenovo/t60/acpi_tables.c @@ -14,18 +14,9 @@ * GNU General Public License for more details. */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include -#include "southbridge/intel/i82801gx/nvs.h" void acpi_create_gnvs(global_nvs_t *gnvs) { /* Enable both COM ports */ diff --git a/src/mainboard/lenovo/x1_carbon_gen1/acpi_tables.c b/src/mainboard/lenovo/x1_carbon_gen1/acpi_tables.c index 2c148d4b74..a5d298c26b 100644 --- a/src/mainboard/lenovo/x1_carbon_gen1/acpi_tables.c +++ b/src/mainboard/lenovo/x1_carbon_gen1/acpi_tables.c @@ -13,21 +13,6 @@ * GNU General Public License for more details. */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include #include #include "thermal.h" diff --git a/src/mainboard/lenovo/x201/acpi_tables.c b/src/mainboard/lenovo/x201/acpi_tables.c index d817d19a01..e412503c88 100644 --- a/src/mainboard/lenovo/x201/acpi_tables.c +++ b/src/mainboard/lenovo/x201/acpi_tables.c @@ -15,17 +15,8 @@ * GNU General Public License for more details. */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "southbridge/intel/ibexpeak/nvs.h" +#include +#include void acpi_create_gnvs(global_nvs_t * gnvs) { diff --git a/src/mainboard/lenovo/x220/acpi_tables.c b/src/mainboard/lenovo/x220/acpi_tables.c index c9e94070d7..a5d298c26b 100644 --- a/src/mainboard/lenovo/x220/acpi_tables.c +++ b/src/mainboard/lenovo/x220/acpi_tables.c @@ -13,19 +13,6 @@ * GNU General Public License for more details. */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include #include #include "thermal.h" diff --git a/src/mainboard/lenovo/x230/acpi_tables.c b/src/mainboard/lenovo/x230/acpi_tables.c index c9e94070d7..a5d298c26b 100644 --- a/src/mainboard/lenovo/x230/acpi_tables.c +++ b/src/mainboard/lenovo/x230/acpi_tables.c @@ -13,19 +13,6 @@ * GNU General Public License for more details. */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include #include #include "thermal.h" diff --git a/src/mainboard/lenovo/x60/acpi_tables.c b/src/mainboard/lenovo/x60/acpi_tables.c index d29a6ccb9d..183b7fe299 100644 --- a/src/mainboard/lenovo/x60/acpi_tables.c +++ b/src/mainboard/lenovo/x60/acpi_tables.c @@ -14,18 +14,9 @@ * GNU General Public License for more details. */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include -#include "southbridge/intel/i82801gx/nvs.h" void acpi_create_gnvs(global_nvs_t *gnvs) { /* Enable both COM ports */ diff --git a/src/mainboard/lenovo/z61t/acpi_tables.c b/src/mainboard/lenovo/z61t/acpi_tables.c index b5b51a045d..3e9a81042e 100644 --- a/src/mainboard/lenovo/z61t/acpi_tables.c +++ b/src/mainboard/lenovo/z61t/acpi_tables.c @@ -14,18 +14,9 @@ * GNU General Public License for more details. */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include -#include "southbridge/intel/i82801gx/nvs.h" void acpi_create_gnvs(global_nvs_t *gnvs) { /* Enable both COM ports */ diff --git a/src/mainboard/packardbell/ms2290/acpi_tables.c b/src/mainboard/packardbell/ms2290/acpi_tables.c index 70719e898f..2605dd1755 100644 --- a/src/mainboard/packardbell/ms2290/acpi_tables.c +++ b/src/mainboard/packardbell/ms2290/acpi_tables.c @@ -15,17 +15,8 @@ * GNU General Public License for more details. */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "southbridge/intel/ibexpeak/nvs.h" +#include +#include void acpi_create_gnvs(global_nvs_t * gnvs) { diff --git a/src/mainboard/roda/rk886ex/acpi_tables.c b/src/mainboard/roda/rk886ex/acpi_tables.c index b5b51a045d..3e9a81042e 100644 --- a/src/mainboard/roda/rk886ex/acpi_tables.c +++ b/src/mainboard/roda/rk886ex/acpi_tables.c @@ -14,18 +14,9 @@ * GNU General Public License for more details. */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include -#include "southbridge/intel/i82801gx/nvs.h" void acpi_create_gnvs(global_nvs_t *gnvs) { /* Enable both COM ports */ -- cgit v1.2.3