summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSridhar Siricilla <sridhar.siricilla@intel.com>2021-06-07 21:28:00 +0530
committerPatrick Georgi <pgeorgi@google.com>2021-06-11 07:32:46 +0000
commitf93aa0426678730cc41515e188565395e141469e (patch)
tree0d291886666cb29772d0ab2eb41d6afa49804bdf
parent0cdcdc736ea28be7bfc6eabdac2430ecf6ee409c (diff)
downloadcoreboot-f93aa0426678730cc41515e188565395e141469e.tar.gz
coreboot-f93aa0426678730cc41515e188565395e141469e.tar.bz2
coreboot-f93aa0426678730cc41515e188565395e141469e.zip
soc/intel/{common,alderlake}: Use generic name "Alderlake Platform"
Since common CPU ID between ADL-P and ADL-M CPU IDs, the patch renames all ADL-P and ADL-M Silicon CPUID macros and defines generic name "Alderlake Platform" as macro value. Also, this will avoid log ADL-M for ADL-P CPU and vice-versa. Although currently name field of "cpu_table" points to only "Alderlake Platform, but it is retained asa placeholder in future difference platforms. Please refer EDS doc# 619501 for more details. The macros are renamed as below: CPUID_ALDERLAKE_P_A0 -> CPUID_ALDERLAKE_A0 CPUID_ALDERLAKE_M_A0 -> CPUID_ALDERLAKE_A1 CPUID_ALDERLAKE_P_B0 -> CPUID_ALDERLAKE_A2 TEST=Verify boot on Brya. After change, relevent coreboot logs appear as below: CPU: ID 906a1, Alderlake Platform, ucode: 00000119 CPU: AES supported, TXT supported, VT supported MCH: device id 4601 (rev 03) is Alderlake-P PCH: device id 5181 (rev 00) is Alderlake-P SKU IGD: device id 46b0 (rev 04) is Alderlake P GT2 Signed-off-by: Sridhar Siricilla <sridhar.siricilla@intel.com> Change-Id: Ia06d2b62d4194edd4e104d49b340ac23305a4c15 Reviewed-on: https://review.coreboot.org/c/coreboot/+/55252 Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/soc/intel/alderlake/bootblock/report_platform.c6
-rw-r--r--src/soc/intel/common/block/cpu/mp_init.c6
-rw-r--r--src/soc/intel/common/block/include/intelblocks/mp_init.h6
3 files changed, 9 insertions, 9 deletions
diff --git a/src/soc/intel/alderlake/bootblock/report_platform.c b/src/soc/intel/alderlake/bootblock/report_platform.c
index c5f9254c3eec..a9a761e73eb1 100644
--- a/src/soc/intel/alderlake/bootblock/report_platform.c
+++ b/src/soc/intel/alderlake/bootblock/report_platform.c
@@ -22,9 +22,9 @@ static struct {
u32 cpuid;
const char *name;
} cpu_table[] = {
- { CPUID_ALDERLAKE_P_A0, "Alderlake-P A0" },
- { CPUID_ALDERLAKE_P_B0, "Alderlake-P B0" },
- { CPUID_ALDERLAKE_M_A0, "Alderlake-M A0" },
+ { CPUID_ALDERLAKE_A0, "Alderlake Platform" },
+ { CPUID_ALDERLAKE_A1, "Alderlake Platform" },
+ { CPUID_ALDERLAKE_A2, "Alderlake Platform" },
};
static struct {
diff --git a/src/soc/intel/common/block/cpu/mp_init.c b/src/soc/intel/common/block/cpu/mp_init.c
index 7e8c19919497..c31a6f70b74d 100644
--- a/src/soc/intel/common/block/cpu/mp_init.c
+++ b/src/soc/intel/common/block/cpu/mp_init.c
@@ -67,9 +67,9 @@ static const struct cpu_device_id cpu_table[] = {
{ X86_VENDOR_INTEL, CPUID_ELKHARTLAKE_B0 },
{ X86_VENDOR_INTEL, CPUID_JASPERLAKE_A0 },
{ X86_VENDOR_INTEL, CPUID_ALDERLAKE_S_A0 },
- { X86_VENDOR_INTEL, CPUID_ALDERLAKE_P_A0 },
- { X86_VENDOR_INTEL, CPUID_ALDERLAKE_P_B0 },
- { X86_VENDOR_INTEL, CPUID_ALDERLAKE_M_A0 },
+ { X86_VENDOR_INTEL, CPUID_ALDERLAKE_A0 },
+ { X86_VENDOR_INTEL, CPUID_ALDERLAKE_A1 },
+ { X86_VENDOR_INTEL, CPUID_ALDERLAKE_A2 },
{ 0, 0 },
};
diff --git a/src/soc/intel/common/block/include/intelblocks/mp_init.h b/src/soc/intel/common/block/include/intelblocks/mp_init.h
index 3d8290f2bd79..dd2653be88e6 100644
--- a/src/soc/intel/common/block/include/intelblocks/mp_init.h
+++ b/src/soc/intel/common/block/include/intelblocks/mp_init.h
@@ -45,9 +45,9 @@
#define CPUID_ELKHARTLAKE_A0 0x90660
#define CPUID_ELKHARTLAKE_B0 0x90661
#define CPUID_ALDERLAKE_S_A0 0x90670
-#define CPUID_ALDERLAKE_P_A0 0x906a0
-#define CPUID_ALDERLAKE_P_B0 0x906a2
-#define CPUID_ALDERLAKE_M_A0 0x906a1
+#define CPUID_ALDERLAKE_A0 0x906a0
+#define CPUID_ALDERLAKE_A1 0x906a1
+#define CPUID_ALDERLAKE_A2 0x906a2
/*
* MP Init callback function to Find CPU Topology. This function is common
* among all SOCs and thus its in Common CPU block.