summaryrefslogtreecommitdiff
path: root/board/BuR/common/common.c
diff options
context:
space:
mode:
authorYe.Li <B37916@freescale.com>2014-02-20 10:00:57 (GMT)
committerPantelis Antoniou <panto@antoniou-consulting.com>2014-05-22 15:52:45 (GMT)
commit716897760fe41c350f55564a73d2e58dafd1ee53 (patch)
treea6f32ab9837db4b7fef57f504dc36879a9563a33 /board/BuR/common/common.c
parentd7782d06534fe4fa47a49fa7c106de5ba85a9687 (diff)
downloadu-boot-fsl-qoriq-716897760fe41c350f55564a73d2e58dafd1ee53.tar.xz
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/BuR/common/common.c')
0 files changed, 0 insertions, 0 deletions