diff options
author | Simon Glass <sjg@chromium.org> | 2023-02-06 01:39:42 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-02-10 00:32:26 +0300 |
commit | 71aa806d5d67f4aaf3effdaca92500f4a4ab4187 (patch) | |
tree | 5f8d392a49e5fe27acb9c9f71c4a5d86c1cc33a3 /board/emulation | |
parent | 5cf9952e6995d16dbde60ca0adf244105f53ff01 (diff) | |
download | u-boot-71aa806d5d67f4aaf3effdaca92500f4a4ab4187.tar.xz |
Correct SPL uses of EFI_HAVE_CAPSULE_SUPPORT
This converts 13 usages of this option to the non-SPL form, since there is
no SPL_EFI_HAVE_CAPSULE_SUPPORT defined in Kconfig
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/emulation')
-rw-r--r-- | board/emulation/common/qemu_dfu.c | 2 | ||||
-rw-r--r-- | board/emulation/qemu-arm/qemu-arm.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/board/emulation/common/qemu_dfu.c b/board/emulation/common/qemu_dfu.c index c1aeaf10d9..332d659c1f 100644 --- a/board/emulation/common/qemu_dfu.c +++ b/board/emulation/common/qemu_dfu.c @@ -44,7 +44,7 @@ void set_dfu_alt_info(char *interface, char *devstr) ALLOC_CACHE_ALIGN_BUFFER(char, buf, DFU_ALT_BUF_LEN); - if (!CONFIG_IS_ENABLED(EFI_HAVE_CAPSULE_SUPPORT) && + if (!IS_ENABLED(CONFIG_EFI_HAVE_CAPSULE_SUPPORT) && env_get("dfu_alt_info")) return; diff --git a/board/emulation/qemu-arm/qemu-arm.c b/board/emulation/qemu-arm/qemu-arm.c index dae37640bc..34ed3e8ae6 100644 --- a/board/emulation/qemu-arm/qemu-arm.c +++ b/board/emulation/qemu-arm/qemu-arm.c @@ -29,7 +29,7 @@ #ifdef CONFIG_ARM64 #include <asm/armv8/mmu.h> -#if CONFIG_IS_ENABLED(EFI_HAVE_CAPSULE_SUPPORT) +#if IS_ENABLED(CONFIG_EFI_HAVE_CAPSULE_SUPPORT) struct efi_fw_image fw_images[] = { #if defined(CONFIG_TARGET_QEMU_ARM_32BIT) { |