mtd: nand: raw: allow to disable unneeded ECC layouts
[oweals/u-boot.git] / drivers / mtd / nand / raw / Kconfig
index fd1723fedadfea17fdf3067c09a75ba740931b64..ffc6cc98aa024b613bb73b4fbb7bf493ee5e806c 100644 (file)
@@ -9,6 +9,12 @@ config SYS_NAND_SELF_INIT
          This option, if enabled, provides more flexible and linux-like
          NAND initialization process.
 
+config SYS_NAND_DRIVER_ECC_LAYOUT
+       bool
+       help
+         Omit standard ECC layouts to safe space. Select this if your driver
+         is known to provide its own ECC layout.
+
 config NAND_ATMEL
        bool "Support Atmel NAND controller"
        imply SYS_NAND_USE_FLASH_BBT
@@ -81,6 +87,7 @@ config NAND_OMAP_ELM
 config NAND_VF610_NFC
        bool "Support for Freescale NFC for VF610"
        select SYS_NAND_SELF_INIT
+       select SYS_NAND_DRIVER_ECC_LAYOUT
        imply CMD_NAND
        help
          Enables support for NAND Flash Controller on some Freescale