Hi Mischa, On Jul 26, 2013, at 3:08 PM, Mischa Jonker wrote:
> 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 <mjon...@synopsys.com> > Cc: Alexey Brodkin <abrod...@synopsys.com> > Cc: Jaehoon Chung <jh80.ch...@samsung.com> > Cc: Andy Fleming <aflem...@gmail.com> Acked-by: Pantelis Antoniou <pa...@antoniou-consulting.com> Thanks _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot