Correct SPL use of EFI_MM_COMM_TEE
authorSimon Glass <sjg@chromium.org>
Mon, 6 Feb 2023 00:54:02 +0000 (17:54 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 10 Feb 2023 12:41:41 +0000 (07:41 -0500)
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>
cmd/eficonfig.c

index 47c04cf..46f652c 100644 (file)
@@ -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},