]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
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 43817802239849044e6b866f63dd01c2a9bb160d..3c5e935bd521021bb8f9358833bf68b80ddf3a5f 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);
 
 
        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.
        /*
         * A DMA descriptor that waits for the command to end and the chip to
         * become ready.