src: Remove unused 'include <cpu/x86/msr.h>'

Found using:
diff <(git grep -l '#include <cpu/x86/msr.h>' -- src/) <(git grep -l 'IA32_EFER\|EFER_\|TSC_MSR\|IA32_\|FEATURE_CONTROL_LOCK_BIT\|FEATURE_ENABLE_VMX\|SMRR_ENABLE\|CPUID_\|SGX_GLOBAL_ENABLE\|PLATFORM_INFO_SET_TDP\|SMBASE_RO_MSR\|MCG_CTL_P\|MCA_BANKS_MASK\|FAST_STRINGS_ENABLE_BIT\|SPEED_STEP_ENABLE_BIT\|ENERGY_POLICY_\|SMRR_PHYSMASK_\|MCA_STATUS_\|VMX_BASIC_HI_DUAL_MONITOR\|MC0_ADDR\|MC0_MISC\|MC0_CTL_MASK\|msr_struct\|msrinit_struct\|soc_msr_read\|soc_msr_write\|rdmsr\|wrmsr\|mca_valid\|mca_over\|mca_uc\|mca_en\|mca_miscv\|mca_addrv\|mca_pcc\|mca_idv\|mca_cecc\|mca_uecc\|mca_defd\|mca_poison\|mca_sublink\|mca_err_code\|mca_err_extcode\|MCA_ERRCODE_\|MCA_BANK_\|MCA_ERRTYPE_\|mca_err_type\|msr_set_bit\|msr_t\|msrinit_t' -- src/) |grep '<'

Change-Id: I45a41e77e5269969280e9f95cfc0effe7f117a40
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41969
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Elyes HAOUAS 2020-07-10 11:31:08 +02:00 committed by Patrick Georgi
parent d970e39eae
commit 14aff23b92
18 changed files with 0 additions and 18 deletions

View File

@ -5,7 +5,6 @@
#include <acpi/acpi.h> #include <acpi/acpi.h>
#include <acpi/acpigen.h> #include <acpi/acpigen.h>
#include <arch/cpu.h> #include <arch/cpu.h>
#include <cpu/x86/msr.h>
#include <cpu/intel/fsb.h> #include <cpu/intel/fsb.h>
#include <cpu/intel/speedstep.h> #include <cpu/intel/speedstep.h>
#include <device/device.h> #include <device/device.h>

View File

@ -4,7 +4,6 @@
#include <console/console.h> #include <console/console.h>
#include <delay.h> #include <delay.h>
#include <thread.h> #include <thread.h>
#include <cpu/x86/msr.h>
#include <cpu/x86/lapic.h> #include <cpu/x86/lapic.h>
void init_timer(void) void init_timer(void)

View File

@ -3,7 +3,6 @@
#include <acpi/acpi.h> #include <acpi/acpi.h>
#include <acpi/acpi_gnvs.h> #include <acpi/acpi_gnvs.h>
#include <device/device.h> #include <device/device.h>
#include <cpu/x86/msr.h>
#include <intelblocks/acpi.h> #include <intelblocks/acpi.h>
#include <soc/acpi.h> #include <soc/acpi.h>

View File

@ -4,7 +4,6 @@
#include <stdint.h> #include <stdint.h>
#include <device/pnp_ops.h> #include <device/pnp_ops.h>
#include <device/pci_ops.h> #include <device/pci_ops.h>
#include <cpu/x86/msr.h>
#include <device/pci_def.h> #include <device/pci_def.h>
#include <northbridge/intel/sandybridge/raminit_native.h> #include <northbridge/intel/sandybridge/raminit_native.h>
#include <northbridge/intel/sandybridge/raminit.h> #include <northbridge/intel/sandybridge/raminit.h>

View File

@ -7,7 +7,6 @@
#include <northbridge/intel/sandybridge/raminit_native.h> #include <northbridge/intel/sandybridge/raminit_native.h>
#include <southbridge/intel/bd82x6x/pch.h> #include <southbridge/intel/bd82x6x/pch.h>
#include <southbridge/intel/common/gpio.h> #include <southbridge/intel/common/gpio.h>
#include <cpu/x86/msr.h>
void mainboard_fill_pei_data(struct pei_data *pei_data) void mainboard_fill_pei_data(struct pei_data *pei_data)
{ {

View File

@ -3,7 +3,6 @@
#include <acpi/acpi.h> #include <acpi/acpi.h>
#include <acpi/acpi_gnvs.h> #include <acpi/acpi_gnvs.h>
#include <device/device.h> #include <device/device.h>
#include <cpu/x86/msr.h>
#include <intelblocks/acpi.h> #include <intelblocks/acpi.h>
#include <soc/acpi.h> #include <soc/acpi.h>

View File

@ -20,7 +20,6 @@
#include <lib.h> #include <lib.h>
#include <commonlib/helpers.h> #include <commonlib/helpers.h>
#include <console/console.h> #include <console/console.h>
#include <cpu/x86/msr.h>
#include <assert.h> #include <assert.h>
#include <spd.h> #include <spd.h>
#include <sdram_mode.h> #include <sdram_mode.h>

View File

@ -6,7 +6,6 @@
#include <stdint.h> #include <stdint.h>
#include <delay.h> #include <delay.h>
#include <cpu/intel/model_2065x/model_2065x.h> #include <cpu/intel/model_2065x/model_2065x.h>
#include <cpu/x86/msr.h>
#include <device/device.h> #include <device/device.h>
#include <device/pci.h> #include <device/pci.h>
#include <device/pci_ids.h> #include <device/pci_ids.h>

View File

@ -3,7 +3,6 @@
#ifndef _SMM_STM_H_ #ifndef _SMM_STM_H_
#define _SMM_STM_H_ #define _SMM_STM_H_
#include <cpu/x86/msr.h>
#include "StmApi.h" #include "StmApi.h"
/* /*

View File

@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */ /* SPDX-License-Identifier: GPL-2.0-only */
#include <device/mmio.h> #include <device/mmio.h>
#include <cpu/x86/msr.h>
#include <bootstate.h> #include <bootstate.h>
#include <console/console.h> #include <console/console.h>
#include <amdblocks/psp.h> #include <amdblocks/psp.h>

View File

@ -3,7 +3,6 @@
#include <arch/cpu.h> #include <arch/cpu.h>
#include <acpi/acpi.h> #include <acpi/acpi.h>
#include <cpu/x86/cache.h> #include <cpu/x86/cache.h>
#include <cpu/x86/msr.h>
#include <cpu/amd/mtrr.h> #include <cpu/amd/mtrr.h>
#include <console/uart.h> #include <console/uart.h>
#include <cbmem.h> #include <cbmem.h>

View File

@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* SPDX-License-Identifier: GPL-2.0-or-later */
#include <assert.h> #include <assert.h>
#include <cpu/x86/msr.h>
#include <intelblocks/msr.h> #include <intelblocks/msr.h>
#include <program_loading.h> #include <program_loading.h>
#include <soc/cpu.h> #include <soc/cpu.h>

View File

@ -5,7 +5,6 @@
#include <cbmem.h> #include <cbmem.h>
#include <console/console.h> #include <console/console.h>
#include <cpu/x86/mp.h> #include <cpu/x86/mp.h>
#include <cpu/x86/msr.h>
#include <device/mmio.h> #include <device/mmio.h>
#include <device/device.h> #include <device/device.h>
#include <device/pci.h> #include <device/pci.h>

View File

@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */ /* SPDX-License-Identifier: GPL-2.0-only */
#include <arch/cpu.h> #include <arch/cpu.h>
#include <cpu/x86/msr.h>
#include <soc/cpu.h> #include <soc/cpu.h>
#include <soc/msr.h> #include <soc/msr.h>
#include <soc/systemagent.h> #include <soc/systemagent.h>

View File

@ -9,7 +9,6 @@
#include <acpi/acpi_gnvs.h> #include <acpi/acpi_gnvs.h>
#include <console/console.h> #include <console/console.h>
#include <cpu/intel/turbo.h> #include <cpu/intel/turbo.h>
#include <cpu/x86/msr.h>
#include <cpu/x86/smm.h> #include <cpu/x86/smm.h>
#include <intelblocks/acpi.h> #include <intelblocks/acpi.h>
#include <intelblocks/msr.h> #include <intelblocks/msr.h>

View File

@ -4,7 +4,6 @@
#define _QUARK_REG_ACCESS_H_ #define _QUARK_REG_ACCESS_H_
#include <cpu/x86/cr.h> #include <cpu/x86/cr.h>
#include <cpu/x86/msr.h>
#include <fsp/util.h> #include <fsp/util.h>
#include <reg_script.h> #include <reg_script.h>
#include <soc/IntelQNCConfig.h> #include <soc/IntelQNCConfig.h>

View File

@ -3,7 +3,6 @@
#include <assert.h> #include <assert.h>
#include <commonlib/sort.h> #include <commonlib/sort.h>
#include <console/console.h> #include <console/console.h>
#include <cpu/x86/msr.h>
#include <delay.h> #include <delay.h>
#include <device/pci.h> #include <device/pci.h>
#include <hob_iiouds.h> #include <hob_iiouds.h>

View File

@ -16,7 +16,6 @@
#if CONFIG(HUDSON_UART) #if CONFIG(HUDSON_UART)
#include <cpu/x86/msr.h>
#include <delay.h> #include <delay.h>
void configure_hudson_uart(void) void configure_hudson_uart(void)