Эх сурвалжийг харах

mtd: rawnand: jz4780: Drop the dependency on MACH_JZ4780

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>
Boris Brezillon 7 жил өмнө
parent
commit
b8f0fadab2

+ 1 - 1
drivers/mtd/nand/raw/Kconfig

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