From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Mon, 2 Apr 2012 21:54:38 +0200 Subject: [U-Boot] [PATCH v2] mmc: mxsmmc: Fix operation with DMA In-Reply-To: References: <1333391050-25199-1-git-send-email-fabio.estevam@freescale.com> <201204022138.00984.marex@denx.de> Message-ID: <201204022154.38769.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Fabio Estevam, > On Mon, Apr 2, 2012 at 4:38 PM, Marek Vasut 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