[U-Boot] [PATCH 04/13] mxs: spi: Remove CONFIG_MXS_SPI_DMA_ENABLE

Marek Vasut marex at denx.de
Sat Feb 23 18:25:21 CET 2013


Dear Fabio Estevam,

> Hi Marek,
> 
> On Sat, Feb 23, 2013 at 9:43 AM, Marek Vasut <marex at denx.de> wrote:
> > -
> > -#ifdef CONFIG_MXS_SPI_DMA_ENABLE
> > 
> >         int dma = 1;
> 
> Can't we get rid of the 'dma'  variable now?

No, we still use it for DMA switching. DMA is enabled only for aligned 
transfers.

Best regards,
Marek Vasut


More information about the U-Boot mailing list