Dear Fabio Estevam, > On Mon, Apr 2, 2012 at 3:39 PM, Marek Vasut <ma...@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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot