[PATCH 2/2] mmc: rockchip_sdhci: Enable by default for all supported SoCs
Chen-Yu Tsai
wens at kernel.org
Tue Apr 29 19:41:25 CEST 2025
From: Chen-Yu Tsai <wens at csie.org>
The rockchip_sdhci driver supports the alternative MMC controller found
in newer Rockchip SoCs. This controller is used for eMMC. Almost all
defconfigs for Rockchip platforms with this controller have it enabled.
Enable it by default for all supported Rockchip SoCs. Disable it
explicitly in defconfigs that previously didn't have it enabled,
which is only the Orangepi 5.
Series-Version: 2
Series-Changes: 2
- Drop trivial defconfig syncs
Signed-off-by: Chen-Yu Tsai <wens at csie.org>
---
configs/orangepi-5-rk3588s_defconfig | 1 +
drivers/mmc/Kconfig | 6 ++++++
2 files changed, 7 insertions(+)
diff --git a/configs/orangepi-5-rk3588s_defconfig b/configs/orangepi-5-rk3588s_defconfig
index 6e2ff7d338a8..098c0738d7c3 100644
--- a/configs/orangepi-5-rk3588s_defconfig
+++ b/configs/orangepi-5-rk3588s_defconfig
@@ -56,6 +56,7 @@ CONFIG_MISC=y
CONFIG_SUPPORT_EMMC_RPMB=y
CONFIG_MMC_DW=y
CONFIG_MMC_DW_ROCKCHIP=y
+# CONFIG_MMC_SDHCI is not set
CONFIG_SPI_FLASH_SFDP_SUPPORT=y
CONFIG_SPI_FLASH_XMC=y
CONFIG_PHY_MOTORCOMM=y
diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig
index ec9e9d51fbf9..d4d49494fee7 100644
--- a/drivers/mmc/Kconfig
+++ b/drivers/mmc/Kconfig
@@ -482,6 +482,11 @@ config MMC_SANDBOX
config MMC_SDHCI
bool "Secure Digital Host Controller Interface support"
+ default y if ROCKCHIP_RK3399
+ default y if ROCKCHIP_RK3528
+ default y if ROCKCHIP_RK3568
+ default y if ROCKCHIP_RK3576
+ default y if ROCKCHIP_RK3588
help
This selects the generic Secure Digital Host Controller Interface.
It is used by manufacturers such as Texas Instruments(R), Ricoh(R)
@@ -714,6 +719,7 @@ config MMC_SDHCI_ROCKCHIP
bool "Arasan SDHCI controller for Rockchip support"
depends on ARCH_ROCKCHIP
depends on MMC_SDHCI
+ default y
help
Support for Arasan SDHCI host controller on Rockchip ARM SoCs platform
--
2.39.5
More information about the U-Boot
mailing list