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

Marek Vasut marex at denx.de
Mon Apr 2 21:54:38 CEST 2012


Dear Fabio Estevam,

> On Mon, Apr 2, 2012 at 4:38 PM, Marek Vasut <marex at denx.de> wrote:
> >> Won't calling mxs_dma_init() from arch_misc_init() work?
> > 
> > No, because that's called after NAND is inited. And NAND needs DMA for
> > it's init
> > 
> > :(
> 
> Correct.
> 
> Should we go with my ugly hack then?
> 
> Or what do you mean when you proposed arch_early_init_r ?

Yes another hook function that'd be called early in board_init_r()

btw. Fabio, I really appreciate your work on this, sorry to keep tormenting you 
so much.

Best regards,
Marek Vasut


More information about the U-Boot mailing list