summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2022-07-10 21:00:06 +0200
committerFelix Held <felix-coreboot@felixheld.de>2022-07-20 13:16:52 +0000
commitef26dee2f44f6134a49d6b83dc2a47bf7b24b533 (patch)
tree3823e46e4de3710d4f66c6101bb2e095c8059367
parenteb8a81fca0b1416d889fed3c8b5c24c8d7f35f30 (diff)
downloadcoreboot-ef26dee2f44f6134a49d6b83dc2a47bf7b24b533.tar.gz
coreboot-ef26dee2f44f6134a49d6b83dc2a47bf7b24b533.tar.bz2
coreboot-ef26dee2f44f6134a49d6b83dc2a47bf7b24b533.zip
treewide: Remove unused <cpu/x86/msr.h>
Change-Id: I187c2482dd82c6c6d1fe1cbda71710ae1a2f54ad Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/64890 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
-rw-r--r--src/arch/x86/c_exit.S2
-rw-r--r--src/security/intel/txt/ramstage.c1
-rw-r--r--src/soc/amd/common/block/cpu/tsc/monotonic_timer.c1
-rw-r--r--src/soc/amd/picasso/fch.c1
-rw-r--r--src/soc/intel/apollolake/pmutil.c1
-rw-r--r--src/soc/intel/broadwell/acpi.c1
-rw-r--r--src/soc/intel/common/block/cpu/mp_init.c1
-rw-r--r--src/soc/intel/common/block/timer/timer.c1
8 files changed, 0 insertions, 9 deletions
diff --git a/src/arch/x86/c_exit.S b/src/arch/x86/c_exit.S
index bb1df28adf26..069a66c91e96 100644
--- a/src/arch/x86/c_exit.S
+++ b/src/arch/x86/c_exit.S
@@ -1,10 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <arch/ram_segs.h>
-#include <cpu/x86/msr.h>
#include <cpu/x86/cr.h>
-
#if ENV_X86_64
/*
diff --git a/src/security/intel/txt/ramstage.c b/src/security/intel/txt/ramstage.c
index 265f81e62d19..744b05e410b0 100644
--- a/src/security/intel/txt/ramstage.c
+++ b/src/security/intel/txt/ramstage.c
@@ -7,7 +7,6 @@
#include <cbfs.h>
#include <console/console.h>
#include <cpu/intel/common/common.h>
-#include <cpu/x86/msr.h>
#include <cpu/x86/smm.h>
#include <device/pci_ops.h>
#include <security/intel/cbnt/cbnt.h>
diff --git a/src/soc/amd/common/block/cpu/tsc/monotonic_timer.c b/src/soc/amd/common/block/cpu/tsc/monotonic_timer.c
index 941532cca623..4cedc3d3a278 100644
--- a/src/soc/amd/common/block/cpu/tsc/monotonic_timer.c
+++ b/src/soc/amd/common/block/cpu/tsc/monotonic_timer.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
-#include <cpu/x86/msr.h>
#include <cpu/x86/tsc.h>
#include <timer.h>
#include <timestamp.h>
diff --git a/src/soc/amd/picasso/fch.c b/src/soc/amd/picasso/fch.c
index 00402213d8cc..c4d34a5301d4 100644
--- a/src/soc/amd/picasso/fch.c
+++ b/src/soc/amd/picasso/fch.c
@@ -4,7 +4,6 @@
#include <bootstate.h>
#include <cpu/amd/msr.h>
#include <cpu/x86/smm.h>
-#include <cpu/x86/msr.h>
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_ops.h>
diff --git a/src/soc/intel/apollolake/pmutil.c b/src/soc/intel/apollolake/pmutil.c
index fbb2345653c7..4623017141eb 100644
--- a/src/soc/intel/apollolake/pmutil.c
+++ b/src/soc/intel/apollolake/pmutil.c
@@ -7,7 +7,6 @@
#include <arch/io.h>
#include <device/mmio.h>
#include <console/console.h>
-#include <cpu/x86/msr.h>
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_def.h>
diff --git a/src/soc/intel/broadwell/acpi.c b/src/soc/intel/broadwell/acpi.c
index 00e6807bd5c7..a9b47ccb11a2 100644
--- a/src/soc/intel/broadwell/acpi.c
+++ b/src/soc/intel/broadwell/acpi.c
@@ -10,7 +10,6 @@
#include <console/console.h>
#include <device/device.h>
#include <types.h>
-#include <cpu/x86/msr.h>
#include <cpu/intel/turbo.h>
#include <soc/acpi.h>
#include <soc/device_nvs.h>
diff --git a/src/soc/intel/common/block/cpu/mp_init.c b/src/soc/intel/common/block/cpu/mp_init.c
index 3dbd573fef4a..8ec6c6660dc4 100644
--- a/src/soc/intel/common/block/cpu/mp_init.c
+++ b/src/soc/intel/common/block/cpu/mp_init.c
@@ -5,7 +5,6 @@
#include <console/console.h>
#include <cpu/cpu.h>
#include <cpu/x86/mtrr.h>
-#include <cpu/x86/msr.h>
#include <cpu/x86/mp.h>
#include <cpu/intel/microcode.h>
#include <intelblocks/cfg.h>
diff --git a/src/soc/intel/common/block/timer/timer.c b/src/soc/intel/common/block/timer/timer.c
index ab411494aa5a..0d201a50e5ad 100644
--- a/src/soc/intel/common/block/timer/timer.c
+++ b/src/soc/intel/common/block/timer/timer.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <arch/cpu.h>
-#include <cpu/x86/msr.h>
#include <cpu/x86/tsc.h>
#include <intelblocks/msr.h>