diff options
author | Ye.Li <B37916@freescale.com> | 2014-02-17 16:38:36 +0800 |
---|---|---|
committer | Ye.Li <B37916@freescale.com> | 2014-02-19 17:14:36 +0800 |
commit | 43a58af0a8e2a3b5c75b130291379acbac0da3d0 (patch) | |
tree | 57f03c00d25571351bf87977c2dcb0314167f914 /board/denx | |
parent | 738fa47255b9d8becc09df38178da175c2fc0527 (diff) | |
download | u-boot-imx-43a58af0a8e2a3b5c75b130291379acbac0da3d0.zip u-boot-imx-43a58af0a8e2a3b5c75b130291379acbac0da3d0.tar.gz u-boot-imx-43a58af0a8e2a3b5c75b130291379acbac0da3d0.tar.bz2 |
ENGR00299356 ARM:imx6 Fix USDHC driver bug in PIO mode
When configure the USDHC 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.
Signed-off-by: Ye.Li <B37916@freescale.com>
(cherry picked from commit e2ced39867a3001390bd23069e56b513ed268bb0)
Diffstat (limited to 'board/denx')
0 files changed, 0 insertions, 0 deletions