[PATCH 4/4] boards: tqma53: add DSR support for eMMC
Markus Niebel
list-09_barebox at tqsc.de
Tue Jan 14 03:23:37 EST 2014
From: Markus Niebel <Markus.Niebel at tqs.de>
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 at tqs.de>
---
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 9069f7c..cc98de9 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)
--
1.7.9.5
More information about the barebox
mailing list