summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSridhar Siricilla <sridhar.siricilla@intel.com>2023-03-30 10:18:13 +0530
committerSridhar Siricilla <sridhar.siricilla@intel.com>2023-04-01 05:38:24 +0000
commit2afac1956f672fb8dad61a3ef5f0f97b6d8aadb7 (patch)
tree7e049b9413e81ebe0c5b92bb277b45639f7abcd6
parent1786601b524f380ebd72bc63083e7e97a8996198 (diff)
soc/intel/meteorlake: Enable 'struct cpu_info' update for MTL
The patch enables addition of core_type member to 'struct cpu_info' for MeteorLake platform. TEST=Build and verify the code for Rex Change-Id: I01abed6b87bec2f8eb39bfc941faff070b83abe6 Signed-off-by: Sridhar Siricilla <sridhar.siricilla@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/74130 Reviewed-by: Ronak Kanabar <ronak.kanabar@intel.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com>
-rw-r--r--src/soc/intel/meteorlake/cpu.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/soc/intel/meteorlake/cpu.c b/src/soc/intel/meteorlake/cpu.c
index a778381081..31b7ef26bf 100644
--- a/src/soc/intel/meteorlake/cpu.c
+++ b/src/soc/intel/meteorlake/cpu.c
@@ -127,6 +127,9 @@ void soc_core_init(struct device *cpu)
/* Enable Turbo */
enable_turbo();
+ /* Set core type in struct cpu_info */
+ set_dev_core_type();
+
if (CONFIG(INTEL_TME) && is_tme_supported())
set_tme_core_activate();
}