Elyes Haouas has uploaded this change for review.

View Change

treewide: Remove unused <cpu/x86/msr.h>

Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Change-Id: I187c2482dd82c6c6d1fe1cbda71710ae1a2f54ad
---
M src/arch/x86/c_exit.S
M src/arch/x86/postcar_loader.c
M src/security/intel/txt/ramstage.c
M src/soc/amd/common/block/cpu/tsc/monotonic_timer.c
M src/soc/amd/picasso/cpu.c
M src/soc/amd/picasso/fch.c
M src/soc/intel/apollolake/pmutil.c
M src/soc/intel/broadwell/acpi.c
8 files changed, 0 insertions(+), 8 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/90/64890/1
diff --git a/src/arch/x86/c_exit.S b/src/arch/x86/c_exit.S
index bb1df28..a83573d 100644
--- a/src/arch/x86/c_exit.S
+++ b/src/arch/x86/c_exit.S
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */

#include <arch/ram_segs.h>
-#include <cpu/x86/msr.h>
#include <cpu/x86/cr.h>


diff --git a/src/arch/x86/postcar_loader.c b/src/arch/x86/postcar_loader.c
index af8152d..c6576a2 100644
--- a/src/arch/x86/postcar_loader.c
+++ b/src/arch/x86/postcar_loader.c
@@ -3,7 +3,6 @@
#include <arch/romstage.h>
#include <cbmem.h>
#include <console/console.h>
-#include <cpu/x86/msr.h>
#include <cpu/x86/mtrr.h>
#include <cpu/x86/smm.h>
#include <program_loading.h>
diff --git a/src/security/intel/txt/ramstage.c b/src/security/intel/txt/ramstage.c
index 265f81e..744b05e 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 941532c..4cedc3d 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/cpu.c b/src/soc/amd/picasso/cpu.c
index f14ee49..b8f7e5a 100644
--- a/src/soc/amd/picasso/cpu.c
+++ b/src/soc/amd/picasso/cpu.c
@@ -8,7 +8,6 @@
#include <cpu/cpu.h>
#include <cpu/x86/mp.h>
#include <cpu/x86/mtrr.h>
-#include <cpu/x86/msr.h>
#include <cpu/x86/smm.h>
#include <acpi/acpi.h>
#include <device/device.h>
diff --git a/src/soc/amd/picasso/fch.c b/src/soc/amd/picasso/fch.c
index 0040221..c4d34a53 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 fbb2345..4623017 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 00e6807..a9b47cc 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>

To view, visit change 64890. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I187c2482dd82c6c6d1fe1cbda71710ae1a2f54ad
Gerrit-Change-Number: 64890
Gerrit-PatchSet: 1
Gerrit-Owner: Elyes Haouas <ehaouas@noos.fr>
Gerrit-MessageType: newchange