soc/intel/meteorlake: Make TME_KEY_REGENERATION_ON_WARM_BOOT selectable

Rather than always enabling TME_KEY_REGENERATION_ON_WARM_BOOT, allow it
to be deselected but default to Y. Enabling it causes issues on boards
which use S3 suspend (vs S0ix), so allow it to be deselected so those
boards don't have to disable TME entirely.

TEST=build/boot starlabs/starbook_mtl, verify S3 resume works properly
with TME_KEY_REGENERATION_ON_WARM_BOOT deselected.

Change-Id: I60de19eddf7c2d8bc390b718b7cb1bf7d0267d47
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/88054
Reviewed-by: Sean Rhodes <sean@starlabs.systems>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jérémy Compostella <jeremy.compostella@intel.com>
This commit is contained in:
Matt DeVillier 2025-06-11 09:11:44 -05:00
commit 9381dd0cbf

View file

@ -99,7 +99,6 @@ config SOC_INTEL_METEORLAKE
select SOC_INTEL_MEM_MAPPED_PM_CONFIGURATION
select SSE2
select SUPPORT_CPU_UCODE_IN_CBFS
select TME_KEY_REGENERATION_ON_WARM_BOOT if INTEL_TME
select TSC_MONOTONIC_TIMER
select UDELAY_TSC
select UDK_202302_BINDING
@ -470,4 +469,7 @@ config SKIP_SEND_CONNECT_TOPOLOGY_CMD
Mainboards which use firmware connection manager may also wish to select this
as needed.
config TME_KEY_REGENERATION_ON_WARM_BOOT
default y if INTEL_TME
endif