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/cpu/amd | |
parent | a9a1913d4d3f27f681b6ef980f064b57da8c1a68 (diff) | |
download | coreboot-d2b9ec13622d34714b4ecf8b9daf53b32665d3d7.tar.xz |
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/cpu/amd')
-rw-r--r-- | src/cpu/amd/car/disable_cache_as_ram.c | 1 | ||||
-rw-r--r-- | src/cpu/amd/family_10h-family_15h/init_cpus.h | 1 | ||||
-rw-r--r-- | src/cpu/amd/family_10h-family_15h/processor_name.c | 1 | ||||
-rw-r--r-- | src/cpu/amd/family_10h-family_15h/ram_calc.c | 2 | ||||
-rw-r--r-- | src/cpu/amd/quadcore/amd_sibling.c | 2 | ||||
-rw-r--r-- | src/cpu/amd/quadcore/quadcore.c | 1 | ||||
-rw-r--r-- | src/cpu/amd/smm/smm_init.c | 1 |
7 files changed, 3 insertions, 6 deletions
diff --git a/src/cpu/amd/car/disable_cache_as_ram.c b/src/cpu/amd/car/disable_cache_as_ram.c index 5eda660775..b1d0c5a1e1 100644 --- a/src/cpu/amd/car/disable_cache_as_ram.c +++ b/src/cpu/amd/car/disable_cache_as_ram.c @@ -19,6 +19,7 @@ * WARNING: this file will be used by both any AP cores and core 0 / node 0 */ +#include <arch/cpu.h> #include <cpu/x86/cache.h> #include <cpu/x86/msr.h> #include <cpu/amd/msr.h> diff --git a/src/cpu/amd/family_10h-family_15h/init_cpus.h b/src/cpu/amd/family_10h-family_15h/init_cpus.h index d4bff0b3f2..65649d6845 100644 --- a/src/cpu/amd/family_10h-family_15h/init_cpus.h +++ b/src/cpu/amd/family_10h-family_15h/init_cpus.h @@ -18,7 +18,6 @@ #include <stdlib.h> #include <console/console.h> -#include <arch/cpu.h> #include <cpu/x86/lapic.h> #include <cpu/x86/mtrr.h> #include <cpu/amd/msr.h> diff --git a/src/cpu/amd/family_10h-family_15h/processor_name.c b/src/cpu/amd/family_10h-family_15h/processor_name.c index 72311035ac..478f0a510f 100644 --- a/src/cpu/amd/family_10h-family_15h/processor_name.c +++ b/src/cpu/amd/family_10h-family_15h/processor_name.c @@ -27,7 +27,6 @@ #include <string.h> #include <cpu/x86/msr.h> #include <cpu/amd/mtrr.h> -#include <cpu/cpu.h> #include <cpu/amd/model_10xxx_rev.h> #include <device/device.h> #include <device/pci.h> diff --git a/src/cpu/amd/family_10h-family_15h/ram_calc.c b/src/cpu/amd/family_10h-family_15h/ram_calc.c index 54fdaf5d7e..ab2cafdcda 100644 --- a/src/cpu/amd/family_10h-family_15h/ram_calc.c +++ b/src/cpu/amd/family_10h-family_15h/ram_calc.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. */ -#include <cpu/cpu.h> +#include <arch/cpu.h> #include <cpu/x86/msr.h> #include <cpu/amd/mtrr.h> diff --git a/src/cpu/amd/quadcore/amd_sibling.c b/src/cpu/amd/quadcore/amd_sibling.c index 32b1784c78..f9259c2745 100644 --- a/src/cpu/amd/quadcore/amd_sibling.c +++ b/src/cpu/amd/quadcore/amd_sibling.c @@ -13,9 +13,7 @@ * GNU General Public License for more details. */ - #include <console/console.h> -#include <cpu/cpu.h> #include <cpu/x86/lapic.h> #include <device/device.h> #include <device/pci.h> diff --git a/src/cpu/amd/quadcore/quadcore.c b/src/cpu/amd/quadcore/quadcore.c index 63b1384c40..c2d277ad3f 100644 --- a/src/cpu/amd/quadcore/quadcore.c +++ b/src/cpu/amd/quadcore/quadcore.c @@ -15,6 +15,7 @@ * GNU General Public License for more details. */ +#include <arch/cpu.h> #include <console/console.h> #include <pc80/mc146818rtc.h> #if IS_ENABLED(CONFIG_HAVE_OPTION_TABLE) diff --git a/src/cpu/amd/smm/smm_init.c b/src/cpu/amd/smm/smm_init.c index 7af8808c62..9e7832e78f 100644 --- a/src/cpu/amd/smm/smm_init.c +++ b/src/cpu/amd/smm/smm_init.c @@ -16,7 +16,6 @@ #include <console/console.h> #include <arch/io.h> -#include <cpu/cpu.h> #include <cpu/x86/lapic.h> #include <cpu/x86/msr.h> #include <cpu/x86/mtrr.h> |