[U-Boot] [PATCH v2] mmc: mxsmmc: Fix operation with DMA

Fabio Estevam festevam at gmail.com
Mon Apr 2 20:54:27 CEST 2012


On Mon, Apr 2, 2012 at 3:39 PM, Marek Vasut <marex at denx.de> wrote:

> This mxs_dma_desc_alloc() is called in a loop in the MXS NAND driver, this is
> even worse ;-)
>
> Possibly some common mx28 init code would be better?

If I put it in mx28.c like that:

+++ b/arch/arm/cpu/arm926ejs/mx28/mx28.c
@@ -172,6 +172,8 @@ int arch_cpu_init(void)
         */
        mxs_gpio_init();

+       mxs_dma_init();
+
        return 0;
 }
 #endif

,MMC still fails.

Still looking for a good place for calling mxs_dma_init();


More information about the U-Boot mailing list