From: Jinyu Tang Date: Tue, 12 Sep 2023 13:31:28 +0000 (+0800) Subject: riscv: defconfig : add CONFIG_MMC_DW for starfive X-Git-Tag: v6.7-rc1~21^2~27 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=07863871dfb162965b21bb8c2e4861bdb0019da3;p=thirdparty%2Fkernel%2Flinux.git riscv: defconfig : add CONFIG_MMC_DW for starfive If these config not set, mmc can't run for jh7110, rootfs can't be found when using SD card. So set CONFIG_MMC_DW=y like arm64 defconfig, and set CONFIG_MMC_DW_STARFIVE=y for starfive. Then starfive vf2 board can start SD card rootfs with mainline defconfig and dtb. Signed-off-by: Jinyu Tang Reviewed-by: Conor Dooley Link: https://lore.kernel.org/r/20230912133128.5247-1-tangjinyu@tinylab.org Signed-off-by: Palmer Dabbelt --- diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig index 1e81c865a2712..d56d52e2ef87b 100644 --- a/arch/riscv/configs/defconfig +++ b/arch/riscv/configs/defconfig @@ -214,6 +214,8 @@ CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_PLTFM=y CONFIG_MMC_SDHCI_CADENCE=y CONFIG_MMC_SPI=y +CONFIG_MMC_DW=y +CONFIG_MMC_DW_STARFIVE=y CONFIG_MMC_SDHI=y CONFIG_MMC_SUNXI=y CONFIG_RTC_CLASS=y