From a1e22b8192d5fc85995a41d0961c25293ba4391f Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Mon, 18 Mar 2019 22:49:36 +0100 Subject: src: Use 'include ' when appropriate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Drop 'include ' when it is not used and add it when it is missing. Also extra lines removed, or added just before local includes. Change-Id: Iccac4dbaa2dd4144fc347af36ecfc9747da3de20 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/31966 Tested-by: build bot (Jenkins) Reviewed-by: Werner Zeh Reviewed-by: Kyösti Mälkki --- src/cpu/amd/agesa/family12/model_12_init.c | 1 - src/cpu/amd/agesa/family14/model_14_init.c | 1 - src/cpu/amd/agesa/family15tn/model_15_init.c | 1 - src/cpu/amd/agesa/family16kb/model_16_init.c | 1 - src/cpu/amd/family_10h-family_15h/model_10xxx_init.c | 1 - src/cpu/amd/pi/00630F01/model_15_init.c | 1 - src/cpu/amd/pi/00660F01/model_15_init.c | 1 - src/cpu/amd/pi/00730F01/model_16_init.c | 1 - src/cpu/intel/haswell/haswell_init.c | 1 - src/cpu/intel/haswell/romstage.c | 1 - src/cpu/intel/model_1067x/model_1067x_init.c | 1 - src/cpu/intel/model_106cx/model_106cx_init.c | 1 - src/cpu/intel/model_2065x/model_2065x_init.c | 1 - src/cpu/intel/model_206ax/model_206ax_init.c | 1 - src/cpu/intel/model_6ex/model_6ex_init.c | 1 - src/cpu/intel/model_6fx/model_6fx_init.c | 1 - src/cpu/intel/speedstep/acpi.c | 1 - src/cpu/x86/mp_init.c | 1 + 18 files changed, 1 insertion(+), 17 deletions(-) (limited to 'src/cpu') diff --git a/src/cpu/amd/agesa/family12/model_12_init.c b/src/cpu/amd/agesa/family12/model_12_init.c index 0693dedeb8..406d300b21 100644 --- a/src/cpu/amd/agesa/family12/model_12_init.c +++ b/src/cpu/amd/agesa/family12/model_12_init.c @@ -19,7 +19,6 @@ #include #include #include -#include #include #include #include diff --git a/src/cpu/amd/agesa/family14/model_14_init.c b/src/cpu/amd/agesa/family14/model_14_init.c index 1516a6b2c6..7f05cd15b6 100644 --- a/src/cpu/amd/agesa/family14/model_14_init.c +++ b/src/cpu/amd/agesa/family14/model_14_init.c @@ -19,7 +19,6 @@ #include #include #include -#include #include #include #include diff --git a/src/cpu/amd/agesa/family15tn/model_15_init.c b/src/cpu/amd/agesa/family15tn/model_15_init.c index 26b20dcfd4..b614eedf56 100644 --- a/src/cpu/amd/agesa/family15tn/model_15_init.c +++ b/src/cpu/amd/agesa/family15tn/model_15_init.c @@ -20,7 +20,6 @@ #include #include #include -#include #include #include #include diff --git a/src/cpu/amd/agesa/family16kb/model_16_init.c b/src/cpu/amd/agesa/family16kb/model_16_init.c index e6fb0db6de..6c1309eea4 100644 --- a/src/cpu/amd/agesa/family16kb/model_16_init.c +++ b/src/cpu/amd/agesa/family16kb/model_16_init.c @@ -19,7 +19,6 @@ #include #include #include -#include #include #include #include diff --git a/src/cpu/amd/family_10h-family_15h/model_10xxx_init.c b/src/cpu/amd/family_10h-family_15h/model_10xxx_init.c index 9819caf909..ff9c7de1d3 100644 --- a/src/cpu/amd/family_10h-family_15h/model_10xxx_init.c +++ b/src/cpu/amd/family_10h-family_15h/model_10xxx_init.c @@ -22,7 +22,6 @@ #include #include #include -#include #include #include #include diff --git a/src/cpu/amd/pi/00630F01/model_15_init.c b/src/cpu/amd/pi/00630F01/model_15_init.c index 3a641bf07f..550f116567 100644 --- a/src/cpu/amd/pi/00630F01/model_15_init.c +++ b/src/cpu/amd/pi/00630F01/model_15_init.c @@ -21,7 +21,6 @@ #include #include #include -#include #include #include #include diff --git a/src/cpu/amd/pi/00660F01/model_15_init.c b/src/cpu/amd/pi/00660F01/model_15_init.c index 65d87c22ec..54446f7d96 100644 --- a/src/cpu/amd/pi/00660F01/model_15_init.c +++ b/src/cpu/amd/pi/00660F01/model_15_init.c @@ -20,7 +20,6 @@ #include #include #include -#include #include #include #include diff --git a/src/cpu/amd/pi/00730F01/model_16_init.c b/src/cpu/amd/pi/00730F01/model_16_init.c index 5678c5f58d..fe828900fc 100644 --- a/src/cpu/amd/pi/00730F01/model_16_init.c +++ b/src/cpu/amd/pi/00730F01/model_16_init.c @@ -20,7 +20,6 @@ #include #include #include -#include #include #include #include diff --git a/src/cpu/intel/haswell/haswell_init.c b/src/cpu/intel/haswell/haswell_init.c index aa77964f68..25cf243aca 100644 --- a/src/cpu/intel/haswell/haswell_init.c +++ b/src/cpu/intel/haswell/haswell_init.c @@ -17,7 +17,6 @@ #include #include -#include #include #include #include diff --git a/src/cpu/intel/haswell/romstage.c b/src/cpu/intel/haswell/romstage.c index e64643aa1e..ee87effc87 100644 --- a/src/cpu/intel/haswell/romstage.c +++ b/src/cpu/intel/haswell/romstage.c @@ -14,7 +14,6 @@ */ #include -#include #include #include #include diff --git a/src/cpu/intel/model_1067x/model_1067x_init.c b/src/cpu/intel/model_1067x/model_1067x_init.c index 6068be166d..e47712c020 100644 --- a/src/cpu/intel/model_1067x/model_1067x_init.c +++ b/src/cpu/intel/model_1067x/model_1067x_init.c @@ -17,7 +17,6 @@ #include #include -#include #include #include #include diff --git a/src/cpu/intel/model_106cx/model_106cx_init.c b/src/cpu/intel/model_106cx/model_106cx_init.c index e44302606e..f43db16185 100644 --- a/src/cpu/intel/model_106cx/model_106cx_init.c +++ b/src/cpu/intel/model_106cx/model_106cx_init.c @@ -15,7 +15,6 @@ #include #include -#include #include #include #include diff --git a/src/cpu/intel/model_2065x/model_2065x_init.c b/src/cpu/intel/model_2065x/model_2065x_init.c index fd34229688..f08a058a57 100644 --- a/src/cpu/intel/model_2065x/model_2065x_init.c +++ b/src/cpu/intel/model_2065x/model_2065x_init.c @@ -17,7 +17,6 @@ #include #include -#include #include #include #include diff --git a/src/cpu/intel/model_206ax/model_206ax_init.c b/src/cpu/intel/model_206ax/model_206ax_init.c index e7462088a9..85b0937b9c 100644 --- a/src/cpu/intel/model_206ax/model_206ax_init.c +++ b/src/cpu/intel/model_206ax/model_206ax_init.c @@ -18,7 +18,6 @@ #include #include #include -#include #include #include #include diff --git a/src/cpu/intel/model_6ex/model_6ex_init.c b/src/cpu/intel/model_6ex/model_6ex_init.c index 19a22f1839..740af4237a 100644 --- a/src/cpu/intel/model_6ex/model_6ex_init.c +++ b/src/cpu/intel/model_6ex/model_6ex_init.c @@ -16,7 +16,6 @@ #include #include -#include #include #include #include diff --git a/src/cpu/intel/model_6fx/model_6fx_init.c b/src/cpu/intel/model_6fx/model_6fx_init.c index 4e198961ce..26d0c9d206 100644 --- a/src/cpu/intel/model_6fx/model_6fx_init.c +++ b/src/cpu/intel/model_6fx/model_6fx_init.c @@ -16,7 +16,6 @@ #include #include -#include #include #include #include diff --git a/src/cpu/intel/speedstep/acpi.c b/src/cpu/intel/speedstep/acpi.c index b5e2c9e9e2..5cff4125ae 100644 --- a/src/cpu/intel/speedstep/acpi.c +++ b/src/cpu/intel/speedstep/acpi.c @@ -23,7 +23,6 @@ #include #include #include -#include static int determine_total_number_of_cores(void) { diff --git a/src/cpu/x86/mp_init.c b/src/cpu/x86/mp_init.c index 2057df011f..138f194ee2 100644 --- a/src/cpu/x86/mp_init.c +++ b/src/cpu/x86/mp_init.c @@ -16,6 +16,7 @@ #include #include +#include #include #include #include -- cgit v1.2.3