From 44c1b5e117eae4b73cf4394fd6d84775daf8649d Mon Sep 17 00:00:00 2001 From: Sridhar Siricilla Date: Thu, 30 Mar 2023 10:13:18 +0530 Subject: soc/intel/alderlake: Enable 'struct cpu_info' update for ADL The patch enables addition of core_type member to 'struct cpu_info' for Alderlake platform. TEST=Build and verify the code for Gimble Change-Id: Ia065b98c2013e78328fd38bed9c667792d6d1f4d Signed-off-by: Sridhar Siricilla Reviewed-on: https://review.coreboot.org/c/coreboot/+/74089 Reviewed-by: Arthur Heymans Tested-by: build bot (Jenkins) Reviewed-by: Subrata Banik --- src/soc/intel/alderlake/cpu.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/soc') diff --git a/src/soc/intel/alderlake/cpu.c b/src/soc/intel/alderlake/cpu.c index 6b9e5e4ca2..728dbdafef 100644 --- a/src/soc/intel/alderlake/cpu.c +++ b/src/soc/intel/alderlake/cpu.c @@ -123,6 +123,9 @@ void soc_core_init(struct device *cpu) /* Enable Direct Cache Access */ configure_dca_cap(); + /* Set core type in struct cpu_info */ + set_dev_core_type(); + /* Set energy policy. The "normal" EPB (6) is not suitable for Alder * Lake or Raptor Lake CPUs, as this results in higher uncore power. */ set_energy_perf_bias(7); -- cgit v1.2.3