diff options
author | Yangbo Lu <yangbo.lu@freescale.com> | 2015-09-17 10:27:12 +0800 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2015-11-02 08:49:51 -0800 |
commit | cdc69550d21f38c99a3c2428598f1a6f126e955e (patch) | |
tree | f0fcd04ab87e03aa47966e90167c760c7c860f5d /drivers/mmc/fsl_esdhc.c | |
parent | 512bdbd46a340e5d04afe9a865992b750dfd4503 (diff) |
mmc: fsl_esdhc: enable dat[4:7] for eMMC4.5 Adapter Card
If adapter card type identification is supported for platform, we would
enable dat[4:7] for eMMC4.5 Adapter Card.
Signed-off-by: Yangbo Lu <yangbo.lu@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'drivers/mmc/fsl_esdhc.c')
-rw-r--r-- | drivers/mmc/fsl_esdhc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdhc.c index f36b794969b..5c20627c1c1 100644 --- a/drivers/mmc/fsl_esdhc.c +++ b/drivers/mmc/fsl_esdhc.c @@ -748,6 +748,9 @@ void mmc_adapter_card_type_ident(void) switch (card_id) { case QIXIS_ESDHC_ADAPTER_TYPE_EMMC45: + value = QIXIS_READ(brdcfg[5]); + value |= (QIXIS_DAT4 | QIXIS_DAT5_6_7); + QIXIS_WRITE(brdcfg[5], value); break; case QIXIS_ESDHC_ADAPTER_TYPE_SDMMC_LEGACY: break; |