]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
net: mtk_eth: select LMB_LIMIT_DMA_BELOW_RAM_TOP
authorDavid Lechner <dlechner@baylibre.com>
Mon, 15 Jun 2026 19:23:32 +0000 (14:23 -0500)
committerDavid Lechner <dlechner@baylibre.com>
Wed, 24 Jun 2026 15:06:16 +0000 (10:06 -0500)
Default to CONFIG_LMB_LIMIT_DMA_BELOW_RAM_TOP=y when MEDIATEK_ETH is
enabled. The MediaTek Ethernet controller can only access the first 4GB
of RAM when DMA is used.

Link: https://patch.msgid.link/20260615-mtk-fix-ram-size-v2-2-f72cfc52ce58@baylibre.com
Signed-off-by: David Lechner <dlechner@baylibre.com>
drivers/net/mtk_eth/Kconfig

index 5d4e54ab90e7207d173696fdd54111b40c1a6b59..7d58f542bdedd7908e1b12f5fda145a76a2930ac 100644 (file)
@@ -5,6 +5,7 @@ config MEDIATEK_ETH
        select PHYLIB
        select DM_GPIO
        select DM_RESET
+       select LMB_LIMIT_DMA_BELOW_RAM_TOP
        help
          This Driver support MediaTek Ethernet GMAC
          Say Y to enable support for the MediaTek Ethernet GMAC.