aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/alderlake
diff options
context:
space:
mode:
authorSridhar Siricilla <sridhar.siricilla@intel.com>2023-03-30 10:13:18 +0530
committerSridhar Siricilla <sridhar.siricilla@intel.com>2023-03-31 08:37:28 +0000
commit44c1b5e117eae4b73cf4394fd6d84775daf8649d (patch)
tree99cb6e3528edfa8efea6d80ca9b1a38ee7e8f06f /src/soc/intel/alderlake
parent1b04e811fb7a706a0f54982348fd14761daf969f (diff)
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 <sridhar.siricilla@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/74089 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com>
Diffstat (limited to 'src/soc/intel/alderlake')
-rw-r--r--src/soc/intel/alderlake/cpu.c3
1 files changed, 3 insertions, 0 deletions
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);