u-boot/drivers/mmc
Hans de Goede b6ae6765c5 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>
2014-07-06 20:12:44 +01:00
..
arm_pl180_mmci.c mmc: Split mmc struct, rework mmc initialization (v2) 2014-03-24 12:58:56 +02:00
arm_pl180_mmci.h mmc: Split mmc struct, rework mmc initialization (v2) 2014-03-24 12:58:56 +02:00
bcm2835_sdhci.c ARM: bcm2835: fix get_timer() to return ms 2013-04-04 08:14:54 +02:00
bfin_sdh.c blackfin: mmc: Correct mmc_host_is_spi and bfin_sdh.c 2014-03-28 16:55:29 -04:00
davinci_mmc.c mmc: Split mmc struct, rework mmc initialization (v2) 2014-03-24 12:58:56 +02:00
dw_mmc.c mmc: dw_mmc: support the DDR mode 2014-05-16 14:54:26 +09:00
exynos_dw_mmc.c mmc: exynos_dw_mmc: enable the DDR mode 2014-05-16 14:54:26 +09:00
fsl_esdhc_spl.c driver: Add support of image load for MMC & SPI in SPL 2014-04-22 17:58:50 -07:00
fsl_esdhc.c esdhc/usdhc: Fix warning when CONFIG_SYS_FSL_ESDHC_USE_PIO is not set 2014-05-23 09:19:05 -04:00
ftsdc010_mci.c mmc: Split mmc struct, rework mmc initialization (v2) 2014-03-24 12:58:56 +02:00
ftsdc021_sdhci.c mmc: add Faraday FTSDC021 SDHCI controller support 2013-12-08 14:23:05 +02:00
gen_atmel_mci.c mmc: atmel_mci: fix print incorrect buffer content for debug 2014-05-27 00:10:46 +02:00
kona_sdhci.c mmc: free allocated memory on initialization errors 2014-06-12 15:21:12 +03:00
Makefile sunxi: mmc support 2014-05-25 16:26:43 +02:00
mmc_private.h mmc: don't support write & erase for SPL builds 2013-09-20 18:58:55 +03:00
mmc_spi.c mmc: Split mmc struct, rework mmc initialization (v2) 2014-03-24 12:58:56 +02:00
mmc_write.c mmc: Split mmc struct, rework mmc initialization (v2) 2014-03-24 12:58:56 +02:00
mmc.c mmc: return meaningful error codes from mmc_select_hwpart 2014-06-12 14:15:59 +03:00
mv_sdhci.c mmc: sdhci: return error when failed add_sdhci(). 2013-05-06 16:26:24 -05:00
mxcmmc.c mmc: Split mmc struct, rework mmc initialization (v2) 2014-03-24 12:58:56 +02:00
mxsmmc.c mmc: Split mmc struct, rework mmc initialization (v2) 2014-03-24 12:58:56 +02:00
omap_hsmmc.c mmc: Split mmc struct, rework mmc initialization (v2) 2014-03-24 12:58:56 +02:00
pxa_mmc_gen.c mmc: Split mmc struct, rework mmc initialization (v2) 2014-03-24 12:58:56 +02:00
rpmb.c includes: move openssl headers to include/u-boot 2014-06-19 11:19:04 -04:00
s5p_sdhci.c mmc: s5p_sdhci: add the s5p_sdhci_core_init function 2014-05-16 14:54:26 +09:00
sdhci.c mmc: Split mmc struct, rework mmc initialization (v2) 2014-03-24 12:58:56 +02:00
sh_mmcif.c mmc: sh_mmcif: Fix warning by unused variable 2014-04-02 12:55:48 +03:00
sh_mmcif.h mmc: sh_mmcif: add support for Renesas MMCIF 2011-07-15 20:29:21 -05:00
socfpga_dw_mmc.c socfpga/dwmmc: Adding DesignWare MMC driver support for SOCFPGA 2014-01-09 11:53:55 +02:00
spear_sdhci.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
sunxi_mmc.c sunxi: Remove mmc DMA support 2014-07-06 20:12:44 +01:00
tegra_mmc.c ARM: tegra: set CONFIG_SYS_MMC_MAX_DEVICE 2014-05-13 10:41:31 -07:00
zynq_sdhci.c mmc: zynq: Add OF initialization support 2014-03-04 09:27:35 -05:00