[PATCH 1/7] lmb: default LMB_LIMIT_DMA_BELOW_RAM_TOP for 64-bit Mediatek SoCs

David Lechner dlechner at baylibre.com
Thu Jun 11 22:31:00 CEST 2026


Add 64-bit Mediatek ARM SoCs to the default y setting of
LMB_LIMIT_DMA_BELOW_RAM_TOP. These platforms have a 4GiB DMA limit, e.g.
for the SD/MMC controller.

Signed-off-by: David Lechner <dlechner at baylibre.com>
---
 lib/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Kconfig b/lib/Kconfig
index cf13ac1bdad..27ad43125e4 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -1298,7 +1298,7 @@ config SPL_LMB_ARCH_MEM_MAP
 config LMB_LIMIT_DMA_BELOW_RAM_TOP
 	bool
 	depends on LMB
-	default y if ARCH_BCM283X
+	default y if ARCH_BCM283X || (ARCH_MEDIATEK && ARM64)
 	help
 	  Some architectures can not DMA above ram_top boundary,
 	  which is after 4 GiB or 32-bit boundary too. Limit the

-- 
2.43.0



More information about the U-Boot mailing list