summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBarnali Sarkar <barnali.sarkar@intel.com>2017-08-07 18:44:02 +0530
committerAaron Durbin <adurbin@chromium.org>2017-08-10 15:59:03 +0000
commitcc22b73c21df69b3f9be90270f3d229bb382b943 (patch)
treed78ead03dfef4f2271ab7cdd04caca558d686688 /src
parent58810c7af5f80ef0c58a7aa77a4c20cfcc7d5474 (diff)
soc/intel/common/block: Add CNL, APL and GLK CPU device IDs
Add Cannon lake, Apollo Lake and GLK CPU device IDs in common Mp Init code. BUG=none BRANCH=none TEST=Build and boot reef Change-Id: I22694ced0cf900a55a28d1ecaa177cab2ea9a90c Signed-off-by: Barnali Sarkar <barnali.sarkar@intel.com> Reviewed-on: https://review.coreboot.org/20896 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src')
-rw-r--r--src/soc/intel/common/block/cpu/mp_init.c7
-rw-r--r--src/soc/intel/common/block/include/intelblocks/mp_init.h5
2 files changed, 12 insertions, 0 deletions
diff --git a/src/soc/intel/common/block/cpu/mp_init.c b/src/soc/intel/common/block/cpu/mp_init.c
index e147bb01f3..fd8b5db89e 100644
--- a/src/soc/intel/common/block/cpu/mp_init.c
+++ b/src/soc/intel/common/block/cpu/mp_init.c
@@ -61,6 +61,13 @@ static struct cpu_device_id cpu_table[] = {
{ X86_VENDOR_INTEL, CPUID_KABYLAKE_Y0 },
{ X86_VENDOR_INTEL, CPUID_KABYLAKE_HA0 },
{ X86_VENDOR_INTEL, CPUID_KABYLAKE_HB0 },
+ { X86_VENDOR_INTEL, CPUID_CANNONLAKE_A0 },
+ { X86_VENDOR_INTEL, CPUID_CANNONLAKE_B0 },
+ { X86_VENDOR_INTEL, CPUID_CANNONLAKE_C0 },
+ { X86_VENDOR_INTEL, CPUID_APOLLOLAKE_A0 },
+ { X86_VENDOR_INTEL, CPUID_APOLLOLAKE_B0 },
+ { X86_VENDOR_INTEL, CPUID_GLK_A0 },
+ { X86_VENDOR_INTEL, CPUID_GLK_B0 },
{ 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 3a021c6f84..1e5531cfd5 100644
--- a/src/soc/intel/common/block/include/intelblocks/mp_init.h
+++ b/src/soc/intel/common/block/include/intelblocks/mp_init.h
@@ -28,8 +28,13 @@
#define CPUID_KABYLAKE_Y0 0x806ea
#define CPUID_KABYLAKE_HA0 0x506e8
#define CPUID_KABYLAKE_HB0 0x906e9
+#define CPUID_CANNONLAKE_A0 0x60660
+#define CPUID_CANNONLAKE_B0 0x60661
+#define CPUID_CANNONLAKE_C0 0x60662
#define CPUID_APOLLOLAKE_A0 0x506c8
#define CPUID_APOLLOLAKE_B0 0x506c9
+#define CPUID_GLK_A0 0x706a0
+#define CPUID_GLK_B0 0x706a1
/*
* MP Init callback function to Find CPU Topology. This function is common