From 2afac1956f672fb8dad61a3ef5f0f97b6d8aadb7 Mon Sep 17 00:00:00 2001 From: Sridhar Siricilla Date: Thu, 30 Mar 2023 10:18:13 +0530 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/74130 Reviewed-by: Ronak Kanabar Tested-by: build bot (Jenkins) Reviewed-by: Subrata Banik --- src/soc/intel/meteorlake/cpu.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/soc') 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(); } -- cgit v1.2.3