Skip to content

Commit 0786387

Browse files
Jinyu Tangpalmer-dabbelt
authored andcommitted
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 <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent ce4f78f commit 0786387

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/riscv/configs/defconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,8 @@ CONFIG_MMC_SDHCI=y
214214
CONFIG_MMC_SDHCI_PLTFM=y
215215
CONFIG_MMC_SDHCI_CADENCE=y
216216
CONFIG_MMC_SPI=y
217+
CONFIG_MMC_DW=y
218+
CONFIG_MMC_DW_STARFIVE=y
217219
CONFIG_MMC_SDHI=y
218220
CONFIG_MMC_SUNXI=y
219221
CONFIG_RTC_CLASS=y

0 commit comments

Comments
 (0)