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 <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>
1 parent ce4f78f commit 0786387

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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)