MLK-16496-2 mmc: fsl_esdhc: add hs400 es mode support
authorPeng Fan <peng.fan@nxp.com>
Wed, 20 Sep 2017 07:05:47 +0000 (15:05 +0800)
committerJason Liu <jason.hui.liu@nxp.com>
Thu, 2 Nov 2017 18:37:18 +0000 (02:37 +0800)
commita0fc9891a9e7d4792aac80bef1db1e6415284c5a
tree4d29d5ae0ac8d42ee378e1b03d2894f18e891327
parentf168228eaa65f30512f3f2320ef02a8874f3711b
MLK-16496-2 mmc: fsl_esdhc: add hs400 es mode support

Add HS400 ES mode support.

The flow is same as mmc_select_hs400es in kernel drivers/mmc/core/mmc.c.
With HS400 ES, there is no tuning needed.

With Toshiba 32GB Automotive eMMC5.1 on 8QXP ARM2 board, speed test:
'time mmc read 0x90000000 0 0x200000' shows that speed is 282MB/s.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
drivers/mmc/fsl_esdhc.c
drivers/mmc/mmc.c
include/fsl_esdhc.h
include/mmc.h