Convert CONFIG_SYS_NAND_4BIT_HW_ECC_OOBFIRST to Kconfig
[platform/kernel/u-boot.git] / drivers / mtd / nand / raw / Kconfig
index 24c27b6..da2c579 100644 (file)
@@ -26,6 +26,10 @@ config TPL_SYS_NAND_SELF_INIT
 config TPL_NAND_INIT
        bool
 
+config SYS_MAX_NAND_DEVICE
+       int "Maximum number of NAND devices to support"
+       default 1
+
 config SYS_NAND_DRIVER_ECC_LAYOUT
        bool "Omit standard ECC layouts to save space"
        help
@@ -97,13 +101,13 @@ config NAND_BRCMNAND_6368
 
 config NAND_BRCMNAND_6753
        bool "Support Broadcom NAND controller on bcm6753"
-       depends on NAND_BRCMNAND && ARCH_BCM6753
+       depends on NAND_BRCMNAND && BCM6855
        help
          Enable support for broadcom nand driver on bcm6753.
 
 config NAND_BRCMNAND_68360
        bool "Support Broadcom NAND controller on bcm68360"
-       depends on NAND_BRCMNAND && ARCH_BCM68360
+       depends on NAND_BRCMNAND && BCM6856
        help
          Enable support for broadcom nand driver on bcm68360.
 
@@ -115,7 +119,7 @@ config NAND_BRCMNAND_6838
 
 config NAND_BRCMNAND_6858
        bool "Support Broadcom NAND controller on bcm6858"
-       depends on NAND_BRCMNAND && ARCH_BCM6858
+       depends on NAND_BRCMNAND && BCM6858
        help
          Enable support for broadcom nand driver on bcm6858.
 
@@ -132,6 +136,10 @@ config NAND_DAVINCI
          Enable this driver for NAND flash controllers available in TI Davinci
          and Keystone2 platforms
 
+config SYS_NAND_4BIT_HW_ECC_OOBFIRST
+       bool "Use 4-bit HW ECC with OOB at the front"
+       depends on NAND_DAVINCI
+
 config KEYSTONE_RBL_NAND
        depends on ARCH_KEYSTONE
        def_bool y