u-boot/drivers
Mischa Jonker 2136d22630 mmc/dw_mmc: Fix DMA descriptor corruption
In dwmci_prepare_data, the descriptors are allocated for DMA transfer.
These are allocated using the ALLOC_CACHE_ALIGN_BUFFER. This macro uses
the stack to allocate these descriptors. This becomes a problem if the
DMA transfer continues after the processor leaves the function in which
the descriptors were allocated.

Therefore, I have moved the allocated of the buffers up one level, to
dwmci_send_cmd(). The DMA transfer should be complete when leaving this
function.

Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
Cc: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Jaehoon Chung <jh80.chung@samsung.com>
Cc: Andy Fleming <afleming@gmail.com>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Acked-by: Pantelis Antoniou <panto@antoniou-consulting.com>
2013-09-20 18:59:11 +03:00
..
bios_emulator biosemu: include <asm/io.h> header 2013-04-02 16:23:35 -04:00
block ahci: convert to use libata functions and definitions 2013-09-06 13:09:07 -04:00
bootcount Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
crypto Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
dfu dfu, nand, ubi: add partubi alt settings for updating ubi partition 2013-08-26 21:56:34 +02:00
dma dma: apbh: Add special circular mode for LCD 2013-08-09 21:48:34 +02:00
fpga fpga: zynqpl: Clear loopback mode during device init 2013-08-12 08:52:01 +02:00
gpio Merge branch 'u-boot-atmel/master' into 'u-boot-arm/master' 2013-09-04 11:50:25 +02:00
hwmon Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
i2c fsl_i2c: add workaround for the erratum I2C A004447 2013-08-20 11:15:31 +02:00
input Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
misc Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mmc mmc/dw_mmc: Fix DMA descriptor corruption 2013-09-20 18:59:11 +03:00
mtd mtd: atmel_nand: pmecc: fix bug fail to correct bit error in 1024-bytes sector 2013-09-04 17:07:21 +02:00
net Merge branch 'u-boot-imx/master' into 'u-boot-arm/master' 2013-09-05 11:15:26 +02:00
pci powerpc/pcie: add PCIe version 3.x support 2013-08-09 12:41:41 -07:00
pcmcia Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
power Merge branch 'u-boot-samsung/master' into 'u-boot-arm/master' 2013-09-11 09:59:27 +02:00
qe Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
rtc Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
serial Merge branch 'u-boot-imx/master' into 'u-boot-arm/master' 2013-09-05 11:15:26 +02:00
sound Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
spi spi: mxs_spi: Configure chipselect after block reset 2013-08-27 19:39:39 +05:30
tpm Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
twserial Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
usb Merge branch 'u-boot-atmel/master' into 'u-boot-arm/master' 2013-09-04 11:50:25 +02:00
video Merge branch 'u-boot-ti/master' into 'u-boot-arm/master' 2013-09-04 14:06:56 +02:00
watchdog arm, am335x: add watchdog support 2013-08-28 11:44:59 -04:00