diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-10-27 09:41:02 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-11-12 09:22:18 +0000 |
commit | d2b9ec13622d34714b4ecf8b9daf53b32665d3d7 (patch) | |
tree | 205a6f66c9ece4b05010b0c33a8c174bc954249c /src/northbridge | |
parent | a9a1913d4d3f27f681b6ef980f064b57da8c1a68 (diff) |
src: Remove unneeded include "{arch,cpu}/cpu.h"
Change-Id: I17c4fc4e3e2eeef7c720c6a020b37d8f7a0f57a4
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/29300
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/northbridge')
23 files changed, 18 insertions, 9 deletions
diff --git a/src/northbridge/amd/amdfam10/raminit_amdmct.c b/src/northbridge/amd/amdfam10/raminit_amdmct.c index 2843b92212..3a2dcccfa2 100644 --- a/src/northbridge/amd/amdfam10/raminit_amdmct.c +++ b/src/northbridge/amd/amdfam10/raminit_amdmct.c @@ -18,6 +18,7 @@ #include <inttypes.h> #include <arch/io.h> #include <arch/acpi.h> +#include <arch/cpu.h> #include <device/pci.h> #include <string.h> #include <cbmem.h> diff --git a/src/northbridge/amd/amdht/h3finit.c b/src/northbridge/amd/amdht/h3finit.c index 8a85734ea9..ee1a4d4d30 100644 --- a/src/northbridge/amd/amdht/h3finit.c +++ b/src/northbridge/amd/amdht/h3finit.c @@ -27,6 +27,7 @@ #include "h3gtopo.h" #include "AsPsNb.h" +#include <arch/cpu.h> #include <device/pci.h> #include <console/console.h> #include <cpu/x86/lapic_def.h> @@ -36,7 +37,6 @@ #include <northbridge/amd/amdfam10/raminit.h> #include <northbridge/amd/amdfam10/amdfam10.h> - /*---------------------------------------------------------------------------- * DEFINITIONS AND MACROS * diff --git a/src/northbridge/amd/amdht/h3ncmn.c b/src/northbridge/amd/amdht/h3ncmn.c index 6542ae4df9..1294bb3da7 100644 --- a/src/northbridge/amd/amdht/h3ncmn.c +++ b/src/northbridge/amd/amdht/h3ncmn.c @@ -28,6 +28,7 @@ #include "h3ffeat.h" #include "AsPsNb.h" +#include <arch/cpu.h> #include <device/pci.h> #include <console/console.h> #include <cpu/amd/msr.h> @@ -36,7 +37,6 @@ #include <northbridge/amd/amdfam10/raminit.h> #include <northbridge/amd/amdfam10/amdfam10.h> - /*---------------------------------------------------------------------------- * DEFINITIONS AND MACROS * diff --git a/src/northbridge/amd/amdht/ht_wrapper.c b/src/northbridge/amd/amdht/ht_wrapper.c index 08ecb4d300..05b8d12fdc 100644 --- a/src/northbridge/amd/amdht/ht_wrapper.c +++ b/src/northbridge/amd/amdht/ht_wrapper.c @@ -14,6 +14,7 @@ * GNU General Public License for more details. */ +#include <arch/cpu.h> #include <cpu/x86/msr.h> #include <console/console.h> #include "ht_wrapper.h" diff --git a/src/northbridge/amd/amdmct/mct_ddr3/mctardk5.c b/src/northbridge/amd/amdmct/mct_ddr3/mctardk5.c index 45cd124cf3..2e5a5009d6 100644 --- a/src/northbridge/amd/amdmct/mct_ddr3/mctardk5.c +++ b/src/northbridge/amd/amdmct/mct_ddr3/mctardk5.c @@ -16,6 +16,7 @@ /* AM3/ASB2/C32/G34 DDR3 */ +#include <arch/cpu.h> #include <inttypes.h> #include "mct_d.h" #include "mct_d_gcc.h" diff --git a/src/northbridge/amd/amdmct/mct_ddr3/mctdqs_d.c b/src/northbridge/amd/amdmct/mct_ddr3/mctdqs_d.c index 7920e656f5..34b13ea306 100644 --- a/src/northbridge/amd/amdmct/mct_ddr3/mctdqs_d.c +++ b/src/northbridge/amd/amdmct/mct_ddr3/mctdqs_d.c @@ -17,6 +17,7 @@ #include <inttypes.h> #include <console/console.h> #include <string.h> +#include <arch/cpu.h> #include <cpu/amd/msr.h> #include <cpu/amd/mtrr.h> #include "mct_d.h" diff --git a/src/northbridge/amd/amdmct/mct_ddr3/mctecc_d.c b/src/northbridge/amd/amdmct/mct_ddr3/mctecc_d.c index 20a636e480..570838b6bc 100644 --- a/src/northbridge/amd/amdmct/mct_ddr3/mctecc_d.c +++ b/src/northbridge/amd/amdmct/mct_ddr3/mctecc_d.c @@ -14,6 +14,7 @@ * GNU General Public License for more details. */ +#include <arch/cpu.h> #include <inttypes.h> #include <console/console.h> #include <string.h> diff --git a/src/northbridge/amd/amdmct/mct_ddr3/mcthwl.c b/src/northbridge/amd/amdmct/mct_ddr3/mcthwl.c index 4fe5ad3d63..57f0e96581 100644 --- a/src/northbridge/amd/amdmct/mct_ddr3/mcthwl.c +++ b/src/northbridge/amd/amdmct/mct_ddr3/mcthwl.c @@ -14,6 +14,7 @@ * GNU General Public License for more details. */ +#include <arch/cpu.h> #include <inttypes.h> #include <console/console.h> #include <string.h> diff --git a/src/northbridge/amd/amdmct/mct_ddr3/mctrci.c b/src/northbridge/amd/amdmct/mct_ddr3/mctrci.c index 4ef6132584..d299f56a0d 100644 --- a/src/northbridge/amd/amdmct/mct_ddr3/mctrci.c +++ b/src/northbridge/amd/amdmct/mct_ddr3/mctrci.c @@ -14,6 +14,7 @@ * GNU General Public License for more details. */ +#include <arch/cpu.h> #include <inttypes.h> #include <console/console.h> #include <string.h> diff --git a/src/northbridge/amd/amdmct/mct_ddr3/mctsdi.c b/src/northbridge/amd/amdmct/mct_ddr3/mctsdi.c index 1fa0c96620..3ca1a98abb 100644 --- a/src/northbridge/amd/amdmct/mct_ddr3/mctsdi.c +++ b/src/northbridge/amd/amdmct/mct_ddr3/mctsdi.c @@ -14,6 +14,7 @@ * GNU General Public License for more details. */ +#include <arch/cpu.h> #include <inttypes.h> #include <console/console.h> #include <string.h> diff --git a/src/northbridge/amd/amdmct/mct_ddr3/mctsrc.c b/src/northbridge/amd/amdmct/mct_ddr3/mctsrc.c index 42627e8445..a6faf90e0c 100644 --- a/src/northbridge/amd/amdmct/mct_ddr3/mctsrc.c +++ b/src/northbridge/amd/amdmct/mct_ddr3/mctsrc.c @@ -19,6 +19,7 @@ Description: Receiver En and DQS Timing Training feature for DDR 3 MCT ******************************************************************************/ +#include <arch/cpu.h> #include <inttypes.h> #include <console/console.h> #include <string.h> diff --git a/src/northbridge/amd/amdmct/mct_ddr3/mctsrc1p.c b/src/northbridge/amd/amdmct/mct_ddr3/mctsrc1p.c index 2592eedab9..0047b55356 100644 --- a/src/northbridge/amd/amdmct/mct_ddr3/mctsrc1p.c +++ b/src/northbridge/amd/amdmct/mct_ddr3/mctsrc1p.c @@ -14,6 +14,7 @@ * GNU General Public License for more details. */ +#include <arch/cpu.h> #include <inttypes.h> #include <console/console.h> #include <string.h> diff --git a/src/northbridge/amd/amdmct/mct_ddr3/mctwl.c b/src/northbridge/amd/amdmct/mct_ddr3/mctwl.c index 53c4a2dbe9..a91fb08bdc 100644 --- a/src/northbridge/amd/amdmct/mct_ddr3/mctwl.c +++ b/src/northbridge/amd/amdmct/mct_ddr3/mctwl.c @@ -14,6 +14,7 @@ * GNU General Public License for more details. */ +#include <arch/cpu.h> #include <inttypes.h> #include <console/console.h> #include <string.h> diff --git a/src/northbridge/amd/amdmct/mct_ddr3/mutilc_d.c b/src/northbridge/amd/amdmct/mct_ddr3/mutilc_d.c index f17e4d6758..eb36c67d97 100644 --- a/src/northbridge/amd/amdmct/mct_ddr3/mutilc_d.c +++ b/src/northbridge/amd/amdmct/mct_ddr3/mutilc_d.c @@ -15,6 +15,8 @@ */ /* This file contains functions for common utility functions */ + +#include <arch/cpu.h> #include <inttypes.h> #include <console/console.h> #include <string.h> diff --git a/src/northbridge/amd/amdmct/wrappers/mcti_d.c b/src/northbridge/amd/amdmct/wrappers/mcti_d.c index bcf3ddc7fd..b7d24764ed 100644 --- a/src/northbridge/amd/amdmct/wrappers/mcti_d.c +++ b/src/northbridge/amd/amdmct/wrappers/mcti_d.c @@ -15,6 +15,8 @@ */ /* Call-backs */ + +#include <arch/cpu.h> #include <delay.h> #include <cpu/amd/msr.h> #include <console/console.h> diff --git a/src/northbridge/intel/e7505/raminit.c b/src/northbridge/intel/e7505/raminit.c index 5dcc1faf85..eadd5bca8a 100644 --- a/src/northbridge/intel/e7505/raminit.c +++ b/src/northbridge/intel/e7505/raminit.c @@ -27,7 +27,6 @@ #include <stdint.h> #include <device/pci_def.h> #include <arch/io.h> -#include <arch/cpu.h> #include <lib.h> #include <stdlib.h> #include <commonlib/helpers.h> diff --git a/src/northbridge/intel/gm45/acpi.c b/src/northbridge/intel/gm45/acpi.c index d208eed4ab..18f541f13c 100644 --- a/src/northbridge/intel/gm45/acpi.c +++ b/src/northbridge/intel/gm45/acpi.c @@ -24,7 +24,6 @@ #include <device/pci_ids.h> #include <cbmem.h> #include <arch/acpigen.h> -#include <cpu/cpu.h> #include "gm45.h" unsigned long acpi_fill_mcfg(unsigned long current) diff --git a/src/northbridge/intel/haswell/northbridge.c b/src/northbridge/intel/haswell/northbridge.c index 2b9e1553d3..0ca071b9ce 100644 --- a/src/northbridge/intel/haswell/northbridge.c +++ b/src/northbridge/intel/haswell/northbridge.c @@ -25,7 +25,6 @@ #include <device/pci_ids.h> #include <stdlib.h> #include <string.h> -#include <cpu/cpu.h> #include <cpu/x86/smm.h> #include <boot/tables.h> #include <cbmem.h> diff --git a/src/northbridge/intel/i945/acpi.c b/src/northbridge/intel/i945/acpi.c index 990d3de388..f842508917 100644 --- a/src/northbridge/intel/i945/acpi.c +++ b/src/northbridge/intel/i945/acpi.c @@ -24,7 +24,6 @@ #include <device/pci_ids.h> #include <cbmem.h> #include <arch/acpigen.h> -#include <cpu/cpu.h> #include "i945.h" unsigned long acpi_fill_mcfg(unsigned long current) diff --git a/src/northbridge/intel/nehalem/raminit.c b/src/northbridge/intel/nehalem/raminit.c index 3160039092..ee5a60b5e7 100644 --- a/src/northbridge/intel/nehalem/raminit.c +++ b/src/northbridge/intel/nehalem/raminit.c @@ -26,7 +26,6 @@ #include <pc80/mc146818rtc.h> #include <device/pci_def.h> #include <device/device.h> -#include <arch/cpu.h> #include <halt.h> #include <spd.h> #include "raminit.h" diff --git a/src/northbridge/intel/x4x/acpi.c b/src/northbridge/intel/x4x/acpi.c index 678486c8a5..b168ffae65 100644 --- a/src/northbridge/intel/x4x/acpi.c +++ b/src/northbridge/intel/x4x/acpi.c @@ -25,7 +25,6 @@ #include <device/pci_ids.h> #include <cbmem.h> #include <arch/acpigen.h> -#include <cpu/cpu.h> #include "x4x.h" unsigned long acpi_fill_mcfg(unsigned long current) diff --git a/src/northbridge/intel/x4x/raminit.c b/src/northbridge/intel/x4x/raminit.c index ff1f970e2e..ce5c2ebcf0 100644 --- a/src/northbridge/intel/x4x/raminit.c +++ b/src/northbridge/intel/x4x/raminit.c @@ -19,6 +19,7 @@ #include <console/console.h> #include <cpu/x86/cache.h> #include <cpu/x86/mtrr.h> +#include <arch/cpu.h> #include <delay.h> #include <halt.h> #include <lib.h> diff --git a/src/northbridge/intel/x4x/raminit_ddr23.c b/src/northbridge/intel/x4x/raminit_ddr23.c index a94e9ca31c..4e5c0ce923 100644 --- a/src/northbridge/intel/x4x/raminit_ddr23.c +++ b/src/northbridge/intel/x4x/raminit_ddr23.c @@ -17,7 +17,6 @@ #include <assert.h> #include <stdint.h> #include <arch/io.h> -#include <arch/cpu.h> #include <console/console.h> #include <commonlib/helpers.h> #include <delay.h> |