mtd: rawnand: jz4780: Drop the dependency on MACH_JZ4780
authorBoris Brezillon <boris.brezillon@bootlin.com>
Mon, 9 Jul 2018 20:09:44 +0000 (22:09 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 18 Jul 2018 08:10:24 +0000 (10:10 +0200)
This MACH_JZ4780 dependency is taken care of by JZ4780_NEMC, no need
to repeat it here.

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Acked-by: Paul Burton <paul.burton@mips.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/Kconfig

index 0711bd714cd514ad01146b1d7909f23fd0ab32be..d495759c94acbc3a13fbcb739d8e8031a182841f 100644 (file)
@@ -497,7 +497,7 @@ config MTD_NAND_JZ4740
 
 config MTD_NAND_JZ4780
        tristate "Support for NAND on JZ4780 SoC"
-       depends on MACH_JZ4780 && JZ4780_NEMC
+       depends on JZ4780_NEMC
        help
          Enables support for NAND Flash connected to the NEMC on JZ4780 SoC
          based boards, using the BCH controller for hardware error correction.