]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
riscv: defconfig : add CONFIG_MMC_DW for starfive
authorJinyu Tang <tangjinyu@tinylab.org>
Tue, 12 Sep 2023 13:31:28 +0000 (21:31 +0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Sun, 5 Nov 2023 17:04:54 +0000 (09:04 -0800)
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 <tangjinyu@tinylab.org>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230912133128.5247-1-tangjinyu@tinylab.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/configs/defconfig

index 1e81c865a2712921dc93e15b5f21f0a0d0342f5b..d56d52e2ef87b35bdc8b3977e129b29786232c70 100644 (file)
@@ -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