On Wed, Apr 4, 2012 at 6:51 PM, Marek Vasut <ma...@denx.de> wrote: > +/* Enable DMA transfers only if DCache is on. */ > +#ifndef CONFIG_SYS_DCACHE_OFF > +#define CONFIG_MXS_MMC_DMA > +#endif
Your patch makes sense, but I would prefer not to couple CONFIG_MXS_MMC_DMA with DCACHE support. Someone may want to enable cache, but still uses MMC driver in PIO mode. IMHO CONFIG_MXS_MMC_DMA could be defined in configs/board.h when needed. Yesterday I was running MMC DMA without DCACHE support and it did work (after the mxs_dma_init changes). _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot