[PATCH] riscv: defconfig: Add MMC support for Kendryte K230
q691800735 at 163.com
q691800735 at 163.com
Wed Dec 3 01:26:14 PST 2025
From: jybruceupup <q691800735 at 163.com>
Add dedicated driver `sdhci-of-kendryte.c` for Kendryte K230's DWC MSHC
SD/eMMC controller, enabling boot-essential external storage access.
Enable driver in defconfig: `CONFIG_MMC_SDHCI_OF_DWCMSHC_KENDRYTE=y`
- DT-matched ("canaan,k230-dw-mshc")
- Uses upstream sdhci-pltfm framework
- No impact on other RISC-V platforms
- Supports K230-based boards (e.g., CanMV DongshanPi)
Signed-off-by: jybruceupup <q691800735 at 163.com>
---
arch/riscv/configs/defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
index fc2725cbc..5848ec2b9 100644
--- a/arch/riscv/configs/defconfig
+++ b/arch/riscv/configs/defconfig
@@ -232,6 +232,7 @@ CONFIG_MMC=y
CONFIG_MMC_SDHCI=y
CONFIG_MMC_SDHCI_PLTFM=y
CONFIG_MMC_SDHCI_OF_DWCMSHC=y
+CONFIG_MMC_SDHCI_OF_DWCMSHC_KENDRYTE=y
CONFIG_MMC_SDHCI_OF_K1=y
CONFIG_MMC_SDHCI_CADENCE=y
CONFIG_MMC_SPI=y
--
2.52.0
More information about the linux-riscv
mailing list