diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2023-02-23 10:01:51 +0100 |
---|---|---|
committer | Elyes Haouas <ehaouas@noos.fr> | 2023-02-26 13:57:40 +0000 |
commit | e10d8a0d52aa116c9bcf952231dd8c4b2cf2820e (patch) | |
tree | 41b8ffdda1b6b8a9443a1b84ce5afb7d32adb4ca /src/soc/intel/xeon_sp/skx | |
parent | e784c1e66a5971cd780648925199f8713a72716f (diff) |
soc/intel/xeon_sp: Drop unused cpu.h header
Change-Id: I42856424d3b55107f1758fb05f7ddbee3550d8b2
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/73200
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jonathan Zhang <jonzhang@fb.com>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Diffstat (limited to 'src/soc/intel/xeon_sp/skx')
-rw-r--r-- | src/soc/intel/xeon_sp/skx/cpu.c | 4 | ||||
-rw-r--r-- | src/soc/intel/xeon_sp/skx/include/soc/cpu.h | 15 | ||||
-rw-r--r-- | src/soc/intel/xeon_sp/skx/soc_acpi.c | 1 | ||||
-rw-r--r-- | src/soc/intel/xeon_sp/skx/soc_util.c | 1 |
4 files changed, 3 insertions, 18 deletions
diff --git a/src/soc/intel/xeon_sp/skx/cpu.c b/src/soc/intel/xeon_sp/skx/cpu.c index 283cbcc9ae..a9a035dac9 100644 --- a/src/soc/intel/xeon_sp/skx/cpu.c +++ b/src/soc/intel/xeon_sp/skx/cpu.c @@ -4,11 +4,11 @@ #include <console/debug.h> #include <intelblocks/cpulib.h> #include <cpu/cpu.h> +#include <cpu/intel/cpu_ids.h> #include <cpu/x86/mtrr.h> #include <cpu/x86/mp.h> #include <cpu/intel/turbo.h> #include <soc/msr.h> -#include <soc/cpu.h> #include <soc/soc_util.h> #include <soc/smmrelocate.h> #include <soc/util.h> @@ -161,6 +161,8 @@ static const struct cpu_driver driver __cpu_driver = { .id_table = cpu_table, }; +#define CPU_BCLK 100 + static void set_max_turbo_freq(void) { msr_t msr, perf_ctl; diff --git a/src/soc/intel/xeon_sp/skx/include/soc/cpu.h b/src/soc/intel/xeon_sp/skx/include/soc/cpu.h deleted file mode 100644 index ef712ab246..0000000000 --- a/src/soc/intel/xeon_sp/skx/include/soc/cpu.h +++ /dev/null @@ -1,15 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ - -#ifndef _SOC_CPU_H_ -#define _SOC_CPU_H_ - -#include <device/device.h> -#include <cpu/intel/cpu_ids.h> -#include <cpu/x86/msr.h> - -/* CPU bus clock is fixed at 100MHz */ -#define CPU_BCLK 100 - -void xeon_sp_init_cpus(struct device *dev); - -#endif diff --git a/src/soc/intel/xeon_sp/skx/soc_acpi.c b/src/soc/intel/xeon_sp/skx/soc_acpi.c index 88f24d4b2c..39dbd4a962 100644 --- a/src/soc/intel/xeon_sp/skx/soc_acpi.c +++ b/src/soc/intel/xeon_sp/skx/soc_acpi.c @@ -8,7 +8,6 @@ #include <device/pci.h> #include <intelblocks/acpi.h> #include <soc/acpi.h> -#include <soc/cpu.h> #include <soc/iomap.h> #include <soc/msr.h> #include <soc/pci_devs.h> diff --git a/src/soc/intel/xeon_sp/skx/soc_util.c b/src/soc/intel/xeon_sp/skx/soc_util.c index 3258007f1c..628613829a 100644 --- a/src/soc/intel/xeon_sp/skx/soc_util.c +++ b/src/soc/intel/xeon_sp/skx/soc_util.c @@ -7,7 +7,6 @@ #include <intelblocks/cpulib.h> #include <intelblocks/pcr.h> #include <soc/iomap.h> -#include <soc/cpu.h> #include <soc/msr.h> #include <soc/pci_devs.h> #include <soc/pcr_ids.h> |