diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-05-31 14:20:27 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-06-01 16:27:00 +0000 |
commit | e307343b9e5fea2ce639cba92d8dce020382f3a2 (patch) | |
tree | 54403aac327cac9bf51fd0ffe6ab4bb71f78e178 /src | |
parent | 3c8b5d00c3e52d4149ff842f674ce0f68cd86509 (diff) | |
download | coreboot-e307343b9e5fea2ce639cba92d8dce020382f3a2.tar.xz |
src/cpu: Remove unneeded includes
Change-Id: I8fb03ada29b37f96fb02122462dfb8ec7faa9d31
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26732
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src')
-rw-r--r-- | src/cpu/intel/fsp_model_206ax/bootblock.c | 8 | ||||
-rw-r--r-- | src/cpu/intel/model_65x/model_65x_init.c | 2 | ||||
-rw-r--r-- | src/cpu/intel/model_67x/model_67x_init.c | 3 | ||||
-rw-r--r-- | src/cpu/intel/model_68x/model_68x_init.c | 2 | ||||
-rw-r--r-- | src/cpu/intel/model_69x/model_69x_init.c | 3 | ||||
-rw-r--r-- | src/cpu/intel/model_6bx/model_6bx_init.c | 2 | ||||
-rw-r--r-- | src/cpu/intel/model_6dx/model_6dx_init.c | 3 | ||||
-rw-r--r-- | src/cpu/intel/slot_1/l2_cache.c | 2 | ||||
-rw-r--r-- | src/cpu/x86/lapic/lapic.c | 2 | ||||
-rw-r--r-- | src/cpu/x86/tsc/delay_tsc.c | 1 |
10 files changed, 0 insertions, 28 deletions
diff --git a/src/cpu/intel/fsp_model_206ax/bootblock.c b/src/cpu/intel/fsp_model_206ax/bootblock.c index ed68883d35..297edd2c49 100644 --- a/src/cpu/intel/fsp_model_206ax/bootblock.c +++ b/src/cpu/intel/fsp_model_206ax/bootblock.c @@ -13,15 +13,7 @@ * GNU General Public License for more details. */ -#include <stdint.h> -#include <arch/cpu.h> -#include <cpu/x86/cache.h> -#include <cpu/x86/msr.h> -#include <cpu/x86/mtrr.h> -#include <arch/io.h> - #include <cpu/intel/microcode/microcode.c> -#include "model_206ax.h" static void bootblock_cpu_init(void) { diff --git a/src/cpu/intel/model_65x/model_65x_init.c b/src/cpu/intel/model_65x/model_65x_init.c index 9eab9c7004..dde34276fb 100644 --- a/src/cpu/intel/model_65x/model_65x_init.c +++ b/src/cpu/intel/model_65x/model_65x_init.c @@ -14,11 +14,9 @@ * GNU General Public License for more details. */ -#include <stdint.h> #include <device/device.h> #include <cpu/cpu.h> #include <cpu/x86/mtrr.h> -#include <cpu/x86/msr.h> #include <cpu/x86/lapic.h> #include <cpu/intel/microcode.h> #include <cpu/x86/cache.h> diff --git a/src/cpu/intel/model_67x/model_67x_init.c b/src/cpu/intel/model_67x/model_67x_init.c index 4fd51d30a2..130105eece 100644 --- a/src/cpu/intel/model_67x/model_67x_init.c +++ b/src/cpu/intel/model_67x/model_67x_init.c @@ -14,15 +14,12 @@ * GNU General Public License for more details. */ -#include <console/console.h> -#include <string.h> #include <device/device.h> #include <cpu/cpu.h> #include <cpu/x86/mtrr.h> #include <cpu/x86/lapic.h> #include <cpu/intel/microcode.h> #include <cpu/x86/cache.h> -#include <cpu/x86/msr.h> #include <cpu/intel/l2_cache.h> static void model_67x_init(struct device *cpu) diff --git a/src/cpu/intel/model_68x/model_68x_init.c b/src/cpu/intel/model_68x/model_68x_init.c index 17c9eb7a57..4c549bc3b9 100644 --- a/src/cpu/intel/model_68x/model_68x_init.c +++ b/src/cpu/intel/model_68x/model_68x_init.c @@ -17,10 +17,8 @@ #include <console/console.h> #include <device/device.h> -#include <string.h> #include <cpu/cpu.h> #include <cpu/x86/mtrr.h> -#include <cpu/x86/msr.h> #include <cpu/x86/lapic.h> #include <cpu/intel/microcode.h> #include <cpu/x86/cache.h> diff --git a/src/cpu/intel/model_69x/model_69x_init.c b/src/cpu/intel/model_69x/model_69x_init.c index 785c48071f..fe7d2ca4e0 100644 --- a/src/cpu/intel/model_69x/model_69x_init.c +++ b/src/cpu/intel/model_69x/model_69x_init.c @@ -11,12 +11,9 @@ * GNU General Public License for more details. */ -#include <console/console.h> #include <device/device.h> -#include <string.h> #include <cpu/cpu.h> #include <cpu/x86/mtrr.h> -#include <cpu/x86/msr.h> #include <cpu/x86/lapic.h> #include <cpu/intel/microcode.h> #include <cpu/x86/cache.h> diff --git a/src/cpu/intel/model_6bx/model_6bx_init.c b/src/cpu/intel/model_6bx/model_6bx_init.c index ce70539bad..617c8aaa26 100644 --- a/src/cpu/intel/model_6bx/model_6bx_init.c +++ b/src/cpu/intel/model_6bx/model_6bx_init.c @@ -17,10 +17,8 @@ #include <console/console.h> #include <device/device.h> -#include <string.h> #include <cpu/cpu.h> #include <cpu/x86/mtrr.h> -#include <cpu/x86/msr.h> #include <cpu/x86/lapic.h> #include <cpu/intel/microcode.h> #include <cpu/x86/cache.h> diff --git a/src/cpu/intel/model_6dx/model_6dx_init.c b/src/cpu/intel/model_6dx/model_6dx_init.c index 6097c33267..337b6131df 100644 --- a/src/cpu/intel/model_6dx/model_6dx_init.c +++ b/src/cpu/intel/model_6dx/model_6dx_init.c @@ -11,12 +11,9 @@ * GNU General Public License for more details. */ -#include <console/console.h> #include <device/device.h> -#include <string.h> #include <cpu/cpu.h> #include <cpu/x86/mtrr.h> -#include <cpu/x86/msr.h> #include <cpu/x86/lapic.h> #include <cpu/intel/microcode.h> #include <cpu/x86/cache.h> diff --git a/src/cpu/intel/slot_1/l2_cache.c b/src/cpu/intel/slot_1/l2_cache.c index 05eaeb300b..617a4e6644 100644 --- a/src/cpu/intel/slot_1/l2_cache.c +++ b/src/cpu/intel/slot_1/l2_cache.c @@ -40,9 +40,7 @@ #include <stdint.h> #include <console/console.h> -#include <string.h> #include <cpu/cpu.h> -#include <cpu/x86/mtrr.h> #include <cpu/intel/l2_cache.h> #include <cpu/x86/cache.h> #include <cpu/x86/msr.h> diff --git a/src/cpu/x86/lapic/lapic.c b/src/cpu/x86/lapic/lapic.c index ca0ff94c99..8cd3092b24 100644 --- a/src/cpu/x86/lapic/lapic.c +++ b/src/cpu/x86/lapic/lapic.c @@ -13,8 +13,6 @@ #include <cpu/x86/lapic.h> #include <console/console.h> -#include <cpu/x86/msr.h> -#include <cpu/x86/mtrr.h> void do_lapic_init(void) { diff --git a/src/cpu/x86/tsc/delay_tsc.c b/src/cpu/x86/tsc/delay_tsc.c index ec2f1d7211..04f709fde8 100644 --- a/src/cpu/x86/tsc/delay_tsc.c +++ b/src/cpu/x86/tsc/delay_tsc.c @@ -14,7 +14,6 @@ #include <arch/early_variables.h> #include <console/console.h> #include <arch/io.h> -#include <cpu/x86/msr.h> #include <cpu/x86/tsc.h> #include <smp/spinlock.h> #include <delay.h> |