[U-Boot] [PATCH v2 3/3] config: rk3399: enable dwmmc controller

Kever Yang kever.yang at rock-chips.com
Thu Aug 4 05:45:00 CEST 2016


Enable the rockchip dwmmc driver for rk3399 and its evb.

Signed-off-by: Kever Yang <kever.yang at rock-chips.com>
Acked-by: Simon Glass <sjg at chromium.org>
---

Changes in v2:
- add commit message

 configs/evb-rk3399_defconfig    | 1 +
 include/configs/rk3399_common.h | 1 +
 2 files changed, 2 insertions(+)

diff --git a/configs/evb-rk3399_defconfig b/configs/evb-rk3399_defconfig
index 0fcde3a..c6b0d4e 100644
--- a/configs/evb-rk3399_defconfig
+++ b/configs/evb-rk3399_defconfig
@@ -21,6 +21,7 @@ CONFIG_CLK=y
 CONFIG_FIT=y
 CONFIG_SYSRESET=y
 CONFIG_DM_MMC=y
+CONFIG_ROCKCHIP_DWMMC=y
 CONFIG_ROCKCHIP_SDHCI=y
 CONFIG_ROCKCHIP_GPIO=y
 CONFIG_PINCTRL=y
diff --git a/include/configs/rk3399_common.h b/include/configs/rk3399_common.h
index 1ed4641..6875308 100644
--- a/include/configs/rk3399_common.h
+++ b/include/configs/rk3399_common.h
@@ -30,6 +30,7 @@
 /* MMC/SD IP block */
 #define CONFIG_MMC
 #define CONFIG_GENERIC_MMC
+#define CONFIG_DWMMC
 #define CONFIG_SDHCI
 #define CONFIG_BOUNCE_BUFFER
 #define CONFIG_ROCKCHIP_SDHCI_MAX_FREQ	200000000
-- 
1.9.1




More information about the U-Boot mailing list