[isar-cip-core][PATCH] Allow to select EFI-based factory reset when StMM firmware is enabled

From: Jan Kiszka <jan.kiszka@siemens.com>
Date: 2026-09-06 11:33:02
Subsystem: the rest · Maintainer: Linus Torvalds

From: Jan Kiszka <jan.kiszka@siemens.com>

This firmware provides persistent EFI variables.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 Kconfig                         | 1 +
 conf/distro/cip-core-common.inc | 1 +
 2 files changed, 2 insertions(+)
diff --git a/Kconfig b/Kconfig
index dae87f6e..490af8d9 100644
--- a/Kconfig
+++ b/Kconfig
@@ -209,6 +209,7 @@ config FTPM_STMM
 	bool "Use Firmware TPM and rewritable UEFI key storage"
 	depends on IMAGE_SWUPDATE
 	depends on !DEBIAN_BUSTER
+	select HAS_EFIVARS
 
 config KAS_INCLUDE_FTPM_STMM
 	string
diff --git a/conf/distro/cip-core-common.inc b/conf/distro/cip-core-common.inc
index 8a1db618..99218c3d 100644
--- a/conf/distro/cip-core-common.inc
+++ b/conf/distro/cip-core-common.inc
@@ -30,3 +30,4 @@ PREFERRED_VERSION_linux-cip-rt-kbuildtarget ?= "${PREFERRED_VERSION_linux-cip-rt
 TEE_SUPPLICANT_IN_USERLAND ?= "0"
 
 PREFERRED_PROVIDER_factory-reset-helper ?= "factory-reset-helper-file"
+PREFERRED_PROVIDER_factory-reset-helper:ftpm-stmm = "factory-reset-helper-efi"
-- 
2.47.3
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help