ls102xa: esdhc: Add esdhc support for LS102xA
authorWang Huan <b18965@freescale.com>
Fri, 5 Sep 2014 05:52:40 +0000 (13:52 +0800)
committerYork Sun <yorksun@freescale.com>
Mon, 8 Sep 2014 17:30:34 +0000 (10:30 -0700)
commit19060bd886381a58cfe335c2f13b6111ed936dd5
tree71794acccae4f7e40169d8201ffbf515c1750eb1
parentc82e9de400ee36038c76be67c5a6fb39c165ac1c
ls102xa: esdhc: Add esdhc support for LS102xA

For LS1, esdhc is big-endian IP. Accessing the registers
should be in big-endian mode. So we use esdhc_read32()
to read Host controller capabilities register for LS1.

For LS1, when using CMD12, cmdtype need to be set to
ABORT, otherwise, next read command will hang.

Signed-off-by: Alison Wang <alison.wang@freescale.com>
drivers/mmc/fsl_esdhc.c