mmc: mtk-sd: select LMB_LIMIT_DMA_BELOW_RAM_TOP
Default to CONFIG_LMB_LIMIT_DMA_BELOW_RAM_TOP=y when CONFIG_MTK_SD is enabled. The MediaTek SD controller can only access the first 4GB of RAM when DMA is used. "imply" is used rather than "select" in case someone want's to turn off the option when DMA is not used. Link: https://patch.msgid.link/20260615-mtk-fix-ram-size-v2-1-f72cfc52ce58@baylibre.com Signed-off-by: David Lechner <dlechner@baylibre.com>
This commit is contained in:
@@ -858,6 +858,7 @@ config MMC_MTK
|
||||
bool "MediaTek SD/MMC Card Interface support"
|
||||
depends on ARCH_MEDIATEK || ARCH_MTMIPS || ARCH_AIROHA
|
||||
depends on OF_CONTROL
|
||||
imply LMB_LIMIT_DMA_BELOW_RAM_TOP
|
||||
help
|
||||
This selects the MediaTek(R) Secure digital and Multimedia card Interface.
|
||||
If you have a machine with a integrated SD/MMC card reader, say Y here.
|
||||
|
||||
Reference in New Issue
Block a user