From: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Date: Wed, 21 Aug 2024 21:33:49 +0000 (+0200)
Subject: efi_loader: allow EFI_LOADER_BOUNCE_BUFFER on all architectures
X-Git-Tag: v2025.01-rc5-pxa1908~323^2
X-Git-Url: http://git.dujemihanovic.xyz/img/static/%7B%7B%20%28.OutputFormats.Get?a=commitdiff_plain;h=dcd1b63b7072;p=u-boot.git

efi_loader: allow EFI_LOADER_BOUNCE_BUFFER on all architectures

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

Drop the architecture restriction.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
---

diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig
index 1179c31bb1..6ffefa9103 100644
--- a/lib/efi_loader/Kconfig
+++ b/lib/efi_loader/Kconfig
@@ -364,7 +364,6 @@ endif
 
 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