summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKever Yang <kever.yang@rock-chips.com>2016-08-04 11:45:00 +0800
committerSimon Glass <sjg@chromium.org>2016-08-05 18:03:07 -0600
commit75a52bd770bcaa3fd065237538263f8e11240fe0 (patch)
treeecdb6cd3518f88991b3deb2b87d3919af0eab01c
parentda8ff82e73f559ed22a7a0da44f670088f4154f8 (diff)
downloadu-boot-imx-75a52bd770bcaa3fd065237538263f8e11240fe0.zip
u-boot-imx-75a52bd770bcaa3fd065237538263f8e11240fe0.tar.gz
u-boot-imx-75a52bd770bcaa3fd065237538263f8e11240fe0.tar.bz2
config: rk3399: enable dwmmc controller
Enable the rockchip dwmmc driver for rk3399 and its evb. Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org>
-rw-r--r--configs/evb-rk3399_defconfig1
-rw-r--r--include/configs/rk3399_common.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/configs/evb-rk3399_defconfig b/configs/evb-rk3399_defconfig
index 3f9b47e..cd06cae 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_PINCTRL=y
CONFIG_RAM=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