File 0005-imx93-FRDM-Do-not-use-MM-SP-services.patch of Package uboot-imx

From a3e51143837032f4ee881aa21566533ba558a445 Mon Sep 17 00:00:00 2001
From: "Ivan T. Ivanov" <iivanov@suse.de>
Date: Tue, 11 Mar 2025 14:21:22 +0200
Subject: [PATCH] imx93: FRDM: Do not use MM SP services

This workaround OP-TEE issue:

...
Unable to open OP-TEE session (err=-5)
mm_communicate failed!
Error: Cannot initialize UEFI sub-system, r = 3
Found EFI removable media binary efi/boot/bootaa64.efi
889864 bytes read in 32 ms (26.5 MiB/s)
Error: Cannot initialize UEFI sub-system, r = 3
EFI LOAD FAILED: continuing...
...

Signed-off-by: Ivan T. Ivanov <iivanov@suse.de>
---
 configs/imx93_11x11_frdm_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configs/imx93_11x11_frdm_defconfig b/configs/imx93_11x11_frdm_defconfig
index bdfe6d905..d423d0847 100644
--- a/configs/imx93_11x11_frdm_defconfig
+++ b/configs/imx93_11x11_frdm_defconfig
@@ -188,7 +188,7 @@ CONFIG_SHA384=y
 CONFIG_LEGACY_IMAGE_FORMAT=y
 CONFIG_LZO=y
 CONFIG_BZIP2=y
-CONFIG_EFI_MM_COMM_TEE=y
+CONFIG_EFI_VARIABLE_NO_STORE=y
 CONFIG_EFI_VAR_BUF_SIZE=139264
 CONFIG_EFI_SET_TIME=y
 CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y
-- 
2.43.0

openSUSE Build Service is sponsored by