[U-Boot] [PATCH v2] mmc: mxsmmc: Fix operation with DMA
Marek Vasut
marex at denx.de
Mon Apr 2 21:03:02 CEST 2012
Dear Fabio Estevam,
> 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.
Because that's called before relocation ;-)
>
> Still looking for a good place for calling mxs_dma_init();
Best regards,
Marek Vasut
More information about the U-Boot
mailing list