mx6: soc: Move mxs_dma_init() into the mxs nand driver
[oweals/u-boot.git] / drivers / mtd / nand / mxs_nand.c
index 92005448d2eeef16007bd089efe5c6a76541b72d..5aa36082dd708484851dfd9eb8da891950c0a051 100644 (file)
@@ -1114,6 +1114,7 @@ int mxs_nand_init(struct mxs_nand_info *info)
        }
 
        /* Init the DMA controller. */
+       mxs_dma_init();
        for (j = MXS_DMA_CHANNEL_AHB_APBH_GPMI0;
                j <= MXS_DMA_CHANNEL_AHB_APBH_GPMI7; j++) {
                ret = mxs_dma_init_channel(j);