nand: mxs: use CONFIG_ARCH_MX6 instead of CONFIG_SOC_MX6Q
authorLothar Waßmann <LW@KARO-electronics.de>
Thu, 22 Oct 2015 09:26:22 +0000 (11:26 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 22 Oct 2015 09:26:22 +0000 (11:26 +0200)
drivers/mtd/nand/mxs_nand.c

index 4381780..3c5e935 100644 (file)
@@ -592,7 +592,7 @@ static void mxs_nand_read_buf(struct mtd_info *mtd, uint8_t *buf, int length)
 
        mxs_dma_desc_append(channel, d);
 
-#ifndef CONFIG_SOC_MX6Q
+#ifndef CONFIG_ARCH_MX6
        /*
         * A DMA descriptor that waits for the command to end and the chip to
         * become ready.