Skip to content

Commit 45e0b0f

Browse files
pdp7palmer-dabbelt
authored andcommitted
riscv: defconfig: Enable mmc and dma drivers for T-Head TH1520
Enable the mmc controller driver and dma controller driver needed for T-Head TH1520 based boards, like the LicheePi 4A and BeagleV-Ahead, to boot from eMMC storage. Reviewed-by: Guo Ren <guoren@kernel.org> Signed-off-by: Drew Fustini <dfustini@baylibre.com> Reviewed-by: Emil Renner Berthing <emil.renner.berthing@canonical.com> Reviewed-by: Jisheng Zhang <jszhang@kernel.org> Link: https://lore.kernel.org/r/20231206-th1520_mmc_dts-v8-1-69220e373e8f@baylibre.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
1 parent 0420af5 commit 45e0b0f

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
@@ -215,6 +215,7 @@ CONFIG_MMC=y
215215
CONFIG_MMC_SDHCI=y
216216
CONFIG_MMC_SDHCI_PLTFM=y
217217
CONFIG_MMC_SDHCI_CADENCE=y
218+
CONFIG_MMC_SDHCI_OF_DWCMSHC=y
218219
CONFIG_MMC_SPI=y
219220
CONFIG_MMC_DW=y
220221
CONFIG_MMC_DW_STARFIVE=y
@@ -224,6 +225,7 @@ CONFIG_RTC_CLASS=y
224225
CONFIG_RTC_DRV_SUN6I=y
225226
CONFIG_DMADEVICES=y
226227
CONFIG_DMA_SUN6I=m
228+
CONFIG_DW_AXI_DMAC=y
227229
CONFIG_RZ_DMAC=y
228230
CONFIG_VIRTIO_PCI=y
229231
CONFIG_VIRTIO_BALLOON=y

0 commit comments

Comments
 (0)