diff options
author | Ye.Li <B37916@freescale.com> | 2014-02-20 18:00:57 +0800 |
---|---|---|
committer | Pantelis Antoniou <panto@antoniou-consulting.com> | 2014-05-22 18:52:45 +0300 |
commit | 716897760fe41c350f55564a73d2e58dafd1ee53 (patch) | |
tree | a6f32ab9837db4b7fef57f504dc36879a9563a33 /board/exmeritus/hww1u1a | |
parent | d7782d06534fe4fa47a49fa7c106de5ba85a9687 (diff) | |
download | u-boot-imx-716897760fe41c350f55564a73d2e58dafd1ee53.zip u-boot-imx-716897760fe41c350f55564a73d2e58dafd1ee53.tar.gz u-boot-imx-716897760fe41c350f55564a73d2e58dafd1ee53.tar.bz2 |
esdhc/usdhc: Fix PIO mode bug in fsl_esdhc driver
When configure the fsl_esdhc driver to PIO mode by defining
"CONFIG_SYS_FSL_ESDHC_USE_PIO", the SD/MMC read and write will fail.
Two bugs in the driver to cause the issue:
1. The read buffer was invalidated after reading from DATAPORT register,
which should be only applied to DMA mode. The valid data in cache was
overwritten by physical memory.
2. The watermarks are not set in PIO mode, will cause according state not
be set.
Acked-by: Pantelis Antoniou <panto@antoniou-consulting.com>
Signed-off-by: Ye.Li <B37916@freescale.com>
Diffstat (limited to 'board/exmeritus/hww1u1a')
0 files changed, 0 insertions, 0 deletions