From 6b5f0d4c9a1789f517e12e3958ba20899db9a1f4 Mon Sep 17 00:00:00 2001 From: Markus Niebel Date: Tue, 14 Jan 2014 09:23:37 +0100 Subject: [PATCH] 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 Signed-off-by: Sascha Hauer --- arch/arm/boards/tqma53/board.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boards/tqma53/board.c b/arch/arm/boards/tqma53/board.c index 9069f7c1c..cc98de9bc 100644 --- a/arch/arm/boards/tqma53/board.c +++ b/arch/arm/boards/tqma53/board.c @@ -39,6 +39,8 @@ #include #include +#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)