From: Simon Glass <sjg@chromium.org>
Date: Sun, 5 Feb 2023 22:39:45 +0000 (-0700)
Subject: Correct SPL use of EFI_SECURE_BOOT
X-Git-Tag: v2025.01-rc5-pxa1908~1113^2~24
X-Git-Url: http://git.dujemihanovic.xyz/%7B%7B%20.Permalink%20%7D%7D?a=commitdiff_plain;h=2c0b0c3182ef25cbd0edf5fc5a05cb6bb98dcbce;p=u-boot.git

Correct SPL use of EFI_SECURE_BOOT

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

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

diff --git a/cmd/eficonfig.c b/cmd/eficonfig.c
index 46f652c35d..5b1f2a7731 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) && IS_ENABLED(CONFIG_EFI_MM_COMM_TEE))
+#if (IS_ENABLED(CONFIG_EFI_SECURE_BOOT) && IS_ENABLED(CONFIG_EFI_MM_COMM_TEE))
 	{"Secure Boot Configuration", eficonfig_process_secure_boot_config},
 #endif
 	{"Quit", eficonfig_process_quit},