[U-Boot] [PATCH 1/2 V3] DMA: Split the APBH DMA init into block and channel init

Fabio Estevam festevam at gmail.com
Mon Apr 9 16:10:38 CEST 2012


On Mon, Apr 9, 2012 at 12:34 AM, Marek Vasut <marex at denx.de> wrote:
> This fixes the issue where mxs_dma_init() was called either twice or never,
> without introducing any new init hooks.
>
> The idea is to allow each and every device using the APBH DMA block to
> configure and request only the channels it uses, instead of making it call init
> for all the channels as is now.
>
> The common DMA block init part, which only configures the block, is then called
> from CPUs arch_cpu_init() call.
>
> NOTE: This patch depends on:
>
>        http://patchwork.ozlabs.org/patch/150957/
>
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Stefano Babic <sbabic at denx.de>
> Cc: Wolfgang Denk <wd at denx.de>
> Cc: Detlev Zundel <dzu at denx.de>
> Cc: Fabio Estevam <fabio.estevam at freescale.com>

This fixes the mmc issue on mx28.

Tested-by: Fabio Estevam <fabio.estevam at freescale.com>


More information about the U-Boot mailing list