summaryrefslogtreecommitdiff
path: root/include/configs/mx28evk.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2014-06-09 11:36:55 +0200
committerIan Campbell <ijc@hellion.org.uk>2014-07-06 20:12:44 +0100
commitb6ae6765c5a9e5daa3799e4d65562d3184712506 (patch)
tree8d8a7dd77cd7c42c89d514671ce850212f980dd3 /include/configs/mx28evk.h
parent9e5f80d823e3fd2a685b10ecf02009e34b86cff9 (diff)
downloadu-boot-imx-b6ae6765c5a9e5daa3799e4d65562d3184712506.zip
u-boot-imx-b6ae6765c5a9e5daa3799e4d65562d3184712506.tar.gz
u-boot-imx-b6ae6765c5a9e5daa3799e4d65562d3184712506.tar.bz2
sunxi: Remove mmc DMA support
The DMA code in sunxi_mmc.c is broken. mmc_trans_data_by_dma() allocates the dma descriptors on the stack, and then exits while the dma transfer is in progress, so the dma engine is reading stack memory which at that point may be re-used. So far we've gotten away with this by luck, but recent u-boot changes have shifted the stack start address by 16 bytes, which combined with dma alignment now exposes this problem. Since we end up just busy waiting for the dma engine anyway, this commit fixes things by simply removing the dma code, resulting in smaller bug-free code. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'include/configs/mx28evk.h')
0 files changed, 0 insertions, 0 deletions