summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Niebel <Markus.Niebel@tqs.de>2014-01-14 09:23:37 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2014-01-15 15:22:56 +0100
commit6b5f0d4c9a1789f517e12e3958ba20899db9a1f4 (patch)
tree89cddb287489de6728626b6e08a2249929631dd7
parentfa5bdb30ee38f815a979182bc6efa5e0791dadc6 (diff)
downloadbarebox-6b5f0d4c9a1789f517e12e3958ba20899db9a1f4.tar.gz
barebox-6b5f0d4c9a1789f517e12e3958ba20899db9a1f4.tar.xz
boards: tqma53: add DSR support for eMMC
all eMMC cards with DSR support used on different revisions of TQMa53 needs the same DSR value. just apply it. Signed-off-by: Markus Niebel <Markus.Niebel@tqs.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/arm/boards/tqma53/board.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/boards/tqma53/board.c b/arch/arm/boards/tqma53/board.c
index 9069f7c1cd..cc98de9bcb 100644
--- a/arch/arm/boards/tqma53/board.c
+++ b/arch/arm/boards/tqma53/board.c
@@ -39,6 +39,8 @@
#include <mach/iim.h>
#include <mach/imx5.h>
+#define TQMA53_EMMC_DSR 0x0100u
+
static struct fec_platform_data fec_info = {
.xcv_type = PHY_INTERFACE_MODE_RMII,
};
@@ -221,6 +223,8 @@ static struct esdhc_platform_data tqma53_sd3_data = {
.cd_type = ESDHC_CD_PERMANENT,
.wp_type = ESDHC_WP_NONE,
.caps = MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA,
+ .use_dsr = 1,
+ .dsr_val = TQMA53_EMMC_DSR,
};
static int tqma53_devices_init(void)