Skip to content
Snippets Groups Projects
Commit b8e5b072 authored by Haijun.Zhang's avatar Haijun.Zhang Committed by Andy Fleming
Browse files

Powerpc: eSDHC: Fix mmc read write err in uboot of T4240QDS board


Fill the right command type when using CMD12 to stop data transfer.

Signed-off-by: default avatarHaijun Zhang <Haijun.Zhang@freescale.com>
CC: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
CC: Scott Wood <scottwood@freescale.com>
Signed-off-by: default avatarAndy Fleming <afleming@freescale.com>
parent baa8841d
No related branches found
No related tags found
No related merge requests found
......@@ -100,7 +100,7 @@ static 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 defined(CONFIG_MX53) || defined(CONFIG_T4240QDS)
if (cmd->cmdidx == MMC_CMD_STOP_TRANSMISSION)
xfertyp |= XFERTYP_CMDTYP_ABORT;
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment