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 <[email protected]> --- 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

