summaryrefslogtreecommitdiff
path: root/drivers/mmc/fsl_esdhc.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2011-04-29 22:45:50 +0200
committerWolfgang Denk <wd@denx.de>2011-04-29 22:45:50 +0200
commita146bcc208127718443a6ca3ad4edc30d289ad9f (patch)
tree6b76559a98ead975c671703f91ae8d831677a653 /drivers/mmc/fsl_esdhc.c
parent1911602b68f9f6cb2b11dde460aa42d17fb1f700 (diff)
parentabe2c93ffb13d58985503595e0151bf03a4a6c2a (diff)
downloadu-boot-imx-a146bcc208127718443a6ca3ad4edc30d289ad9f.zip
u-boot-imx-a146bcc208127718443a6ca3ad4edc30d289ad9f.tar.gz
u-boot-imx-a146bcc208127718443a6ca3ad4edc30d289ad9f.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-mmc
Diffstat (limited to 'drivers/mmc/fsl_esdhc.c')
-rw-r--r--drivers/mmc/fsl_esdhc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdhc.c
index 2838795..d2355be 100644
--- a/drivers/mmc/fsl_esdhc.c
+++ b/drivers/mmc/fsl_esdhc.c
@@ -99,6 +99,10 @@ uint esdhc_xfertyp(struct mmc_cmd *cmd, struct mmc_data *data)
else if (cmd->resp_type & MMC_RSP_PRESENT)
xfertyp |= XFERTYP_RSPTYP_48;
+#ifdef CONFIG_MX53
+ if (cmd->cmdidx == MMC_CMD_STOP_TRANSMISSION)
+ xfertyp |= XFERTYP_CMDTYP_ABORT;
+#endif
return XFERTYP_CMD(cmd->cmdidx) | xfertyp;
}