summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorJincheng Li <jincheng.li@intel.com>2024-06-21 19:35:14 +0800
committerLean Sheng Tan <sheng.tan@9elements.com>2024-09-13 11:14:33 +0000
commit332c3b27d250b16b4a2844f228459d8f0dc5b35c (patch)
tree6ca71ad034cb5b2fb068e5c4809a595b96c7a7fd /src/soc
parentb72e95dd99696c142b270d462bf80e977dba23ee (diff)
soc/intel/xeon_sp/gnr: Move CPU ID definition to common header
Change-Id: I816c6f68840c122fbc37085e31a1b0368a819f4a Signed-off-by: Jincheng Li <jincheng.li@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/84313 Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/intel/xeon_sp/gnr/cpu.c1
-rw-r--r--src/soc/intel/xeon_sp/gnr/include/soc/cpu.h9
-rw-r--r--src/soc/intel/xeon_sp/gnr/soc_util.c2
3 files changed, 1 insertions, 11 deletions
diff --git a/src/soc/intel/xeon_sp/gnr/cpu.c b/src/soc/intel/xeon_sp/gnr/cpu.c
index 43120b33cc..9502865926 100644
--- a/src/soc/intel/xeon_sp/gnr/cpu.c
+++ b/src/soc/intel/xeon_sp/gnr/cpu.c
@@ -6,7 +6,6 @@
#include <cpu/x86/mtrr.h>
#include <intelblocks/cpulib.h>
#include <intelblocks/mp_init.h>
-#include <soc/cpu.h>
#include <soc/soc_util.h>
#include <soc/util.h>
diff --git a/src/soc/intel/xeon_sp/gnr/include/soc/cpu.h b/src/soc/intel/xeon_sp/gnr/include/soc/cpu.h
deleted file mode 100644
index 76d33195f8..0000000000
--- a/src/soc/intel/xeon_sp/gnr/include/soc/cpu.h
+++ /dev/null
@@ -1,9 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-#ifndef _SOC_CPU_H
-#define _SOC_CPU_H
-
-#define CPUID_GRANITERAPIDS 0xA06D0
-#define CPUID_SIERRAFOREST 0xA06F0
-
-#endif
diff --git a/src/soc/intel/xeon_sp/gnr/soc_util.c b/src/soc/intel/xeon_sp/gnr/soc_util.c
index 7ea65c213c..9d8e815f8e 100644
--- a/src/soc/intel/xeon_sp/gnr/soc_util.c
+++ b/src/soc/intel/xeon_sp/gnr/soc_util.c
@@ -1,13 +1,13 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <assert.h>
+#include <cpu/intel/cpu_ids.h>
#include <device/device.h>
#include <device/pci.h>
#include <fsp/util.h>
#include <soc/util.h>
#include <soc/acpi.h>
#include <soc/chip_common.h>
-#include <soc/cpu.h>
#include <soc/pci_devs.h>
#include <soc/soc_util.h>
#include <stdlib.h>