diff mbox series

efi_loader: allow EFI_LOADER_BOUNCE_BUFFER on all architectures

Message ID 20241121141058.367812-1-ilias.apalodimas@linaro.org
State New
Headers show
Series efi_loader: allow EFI_LOADER_BOUNCE_BUFFER on all architectures | expand

Commit Message

Ilias Apalodimas Nov. 21, 2024, 2:10 p.m. UTC
From: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>

There not only ARM64 boards but also RISC-V boards that require a bounce
buffer to read block devices.

Drop the architecture restriction.

This patch was added in commit dcd1b63b7072 ("efi_loader: allow EFI_LOADER_BOUNCE_BUFFER on all architectures")
but was inadvertently reverted by
commit commit 775f7657ba58 ("Kconfig: clean up the efi configuration status") which was merged after.

Bring back the correct Kconfig dependencies

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
---
 lib/efi_loader/Kconfig | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig
index 58d49789f12c..d93f28b84224 100644
--- a/lib/efi_loader/Kconfig
+++ b/lib/efi_loader/Kconfig
@@ -481,7 +481,6 @@  endmenu
 menu "Misc options"
 config EFI_LOADER_BOUNCE_BUFFER
 	bool "EFI Applications use bounce buffers for DMA operations"
-	depends on ARM64
 	help
 	  Some hardware does not support DMA to full 64bit addresses. For this
 	  hardware we can create a bounce buffer so that payloads don't have to