cpu/intel: Clean up includes

Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Change-Id: Ie760711916c49d275ca49d94b9597fd24b5e7628
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68203
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
This commit is contained in:
Elyes Haouas 2022-10-07 10:06:25 +02:00 committed by Felix Held
parent 6a9ae29c05
commit deb5645644
4 changed files with 12 additions and 10 deletions

View File

@ -1,8 +1,9 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <bootblock_common.h>
#include <arch/bootblock.h>
#include <bootblock_common.h>
#include <cpu/x86/bist.h>
#include <stdint.h>
static uint32_t saved_bist;

View File

@ -4,8 +4,10 @@
#include <arch/cpu.h>
#include <console/console.h>
#include <cpu/intel/msr.h>
#include <cpu/x86/msr.h>
#include <cpu/intel/turbo.h>
#include <cpu/x86/msr.h>
#include <types.h>
#include "common.h"
#define CPUID_6_ECX_EPB (1 << 3)

View File

@ -2,14 +2,13 @@
/* Microcode update for Intel PIII and later CPUs */
#include <stdint.h>
#include <stddef.h>
#include <cbfs.h>
#include <arch/cpu.h>
#include <cbfs.h>
#include <console/console.h>
#include <cpu/x86/msr.h>
#include <cpu/intel/microcode.h>
#include <cpu/x86/msr.h>
#include <smp/spinlock.h>
#include <types.h>
DECLARE_SPIN_LOCK(microcode_lock)

View File

@ -1,12 +1,12 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <device/device.h>
#include <cpu/cpu.h>
#include <cpu/x86/mtrr.h>
#include <cpu/intel/microcode.h>
#include <cpu/intel/hyperthreading.h>
#include <cpu/intel/common/common.h>
#include <cpu/intel/hyperthreading.h>
#include <cpu/intel/microcode.h>
#include <cpu/x86/cache.h>
#include <cpu/x86/mtrr.h>
#include <device/device.h>
static void model_f3x_init(struct device *cpu)
{