From: Simon Glass <sjg@chromium.org>
Date: Mon, 6 Feb 2023 00:54:02 +0000 (-0700)
Subject: Correct SPL use of EFI_MM_COMM_TEE
X-Git-Tag: v2025.01-rc5-pxa1908~1114^2~8
X-Git-Url: http://git.dujemihanovic.xyz/img/static/html/%7B%7B?a=commitdiff_plain;h=83f3d121ddf5c2f0c3ffc5e0cd01a67d31c28bfd;p=u-boot.git

Correct SPL use of EFI_MM_COMM_TEE

This converts 1 usage of this option to the non-SPL form, since there is
no SPL_EFI_MM_COMM_TEE defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
---

diff --git a/cmd/eficonfig.c b/cmd/eficonfig.c
index 47c04cf536..46f652c35d 100644
--- a/cmd/eficonfig.c
+++ b/cmd/eficonfig.c
@@ -2670,7 +2670,7 @@ static const struct eficonfig_item maintenance_menu_items[] = {
 	{"Edit Boot Option", eficonfig_process_edit_boot_option},
 	{"Change Boot Order", eficonfig_process_change_boot_order},
 	{"Delete Boot Option", eficonfig_process_delete_boot_option},
-#if (CONFIG_IS_ENABLED(EFI_SECURE_BOOT) && CONFIG_IS_ENABLED(EFI_MM_COMM_TEE))
+#if (CONFIG_IS_ENABLED(EFI_SECURE_BOOT) && IS_ENABLED(CONFIG_EFI_MM_COMM_TEE))
 	{"Secure Boot Configuration", eficonfig_process_secure_boot_config},
 #endif
 	{"Quit", eficonfig_process_quit},