mtd: nand: Allow NAND chip ids to be included standalone.
[firefly-linux-kernel-4.4.55.git] / drivers / mtd / nand / Kconfig
index 3324281d1f53f99bd297c4bf9e56b341a0a1932c..093fd917274f8db4d4d4228036c2bcf868387669 100644 (file)
@@ -1,3 +1,10 @@
+config MTD_NAND_IDS
+       tristate "Include chip ids for known NAND devices."
+       depends on MTD
+       help
+         Useful for NAND drivers that do not use the NAND subsystem but
+         still like to take advantage of the known chip information.
+
 config MTD_NAND_ECC
        tristate
 
@@ -108,9 +115,6 @@ config MTD_NAND_OMAP_BCH
 config MTD_NAND_OMAP_BCH_BUILD
        def_tristate MTD_NAND_OMAP2 && MTD_NAND_OMAP_BCH
 
-config MTD_NAND_IDS
-       tristate
-
 config MTD_NAND_RICOH
        tristate "Ricoh xD card reader"
        default n
@@ -393,7 +397,7 @@ config MTD_NAND_GPMI_NAND
 
 config MTD_NAND_BRCMNAND
        tristate "Broadcom STB NAND controller"
-       depends on ARM || MIPS
+       depends on ARM || ARM64 || MIPS
        help
          Enables the Broadcom NAND controller driver. The controller was
          originally designed for Set-Top Box but is used on various BCM7xxx,
@@ -460,6 +464,17 @@ config MTD_NAND_MPC5121_NFC
          This enables the driver for the NAND flash controller on the
          MPC5121 SoC.
 
+config MTD_NAND_VF610_NFC
+       tristate "Support for Freescale NFC for VF610/MPC5125"
+       depends on (SOC_VF610 || COMPILE_TEST)
+       help
+         Enables support for NAND Flash Controller on some Freescale
+         processors like the VF610, MPC5125, MCF54418 or Kinetis K70.
+         The driver supports a maximum 2k page size. With 2k pages and
+         64 bytes or more of OOB, hardware ECC with up to 32-bit error
+         correction is supported. Hardware ECC is only enabled through
+         device tree.
+
 config MTD_NAND_MXC
        tristate "MXC NAND support"
        depends on ARCH_MXC