mmc: esdhc: add PIO mode support
authorJerry Huang <Chang-Ming.Huang@freescale.com>
Mon, 16 Jan 2012 06:13:03 +0000 (14:13 +0800)
committerChris Ball <cjb@laptop.org>
Tue, 14 Feb 2012 01:38:59 +0000 (20:38 -0500)
commit81e499224a7ef02e1889736ebb6b432da1735ab6
treeab93daf08770a47ce137cba476c0012ae241315a
parent2c4967f741e87cdd63de7271b97807041dccbf3b
mmc: esdhc: add PIO mode support

For some FSL ESDHC controllers (e.g. P2020E, Rev1.0), the SDHC can not
work on DMA mode because of the hardware bug, so we set a broken dma flag
and use PIO mode.

Signed-off-by: Jerry Huang <Chang-Ming.Huang@freescale.com>
Signed-off-by: Gao Guanhua <B22826@freescale.com>
Acked-by: Anton Vorontsov <cbouatmailru@gmail.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-pltfm.c