Powerpc: eSDHC: expand a fix to T4160
authorShaohui Xie <Shaohui.Xie@freescale.com>
Fri, 11 Sep 2015 11:02:13 +0000 (19:02 +0800)
committerYork Sun <yorksun@freescale.com>
Mon, 2 Nov 2015 16:49:32 +0000 (08:49 -0800)
commit b8e5b07225 "Powerpc: eSDHC: Fix mmc read write err in uboot of
T4240QDS board", T4160 also needs this fix.

Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
drivers/mmc/fsl_esdhc.c

index 471d6ee4a63bc63dcc06a9515542a2e054aad90b..f36b794969b45373ef1c3b3a0e9a9b6a7306afc1 100644 (file)
@@ -106,7 +106,8 @@ static uint esdhc_xfertyp(struct mmc_cmd *cmd, struct mmc_data *data)
                xfertyp |= XFERTYP_RSPTYP_48;
 
 #if defined(CONFIG_MX53) || defined(CONFIG_PPC_T4240) || \
-       defined(CONFIG_LS102XA) || defined(CONFIG_FSL_LAYERSCAPE)
+       defined(CONFIG_LS102XA) || defined(CONFIG_FSL_LAYERSCAPE) || \
+       defined(CONFIG_PPC_T4160)
        if (cmd->cmdidx == MMC_CMD_STOP_TRANSMISSION)
                xfertyp |= XFERTYP_CMDTYP_ABORT;
 #endif