Convert CONFIG_SYS_FLASH_ERASE_TOUT et al to Kconfig
[platform/kernel/u-boot.git] / drivers / mtd / Kconfig
index 3d1f6e4..e28ff04 100644 (file)
@@ -106,6 +106,10 @@ config SYS_FLASH_USE_BUFFER_WRITE
        help
          Use buffered writes to flash.
 
+config SYS_FLASH_EMPTY_INFO
+       bool "Enable displaying empty sectors in flash info"
+       depends on FLASH_CFI_DRIVER
+
 config FLASH_CFI_MTD
        bool "Enable CFI MTD driver"
        depends on FLASH_CFI_DRIVER
@@ -128,6 +132,13 @@ config SYS_FLASH_CFI
          Define if the flash driver uses extra elements in the
          common flash structure for storing flash geometry.
 
+config SYS_FLASH_CHECKSUM
+       bool "Compute and print flash CRC if 'flashchecksum' is set in the environment"
+       depends on MTD_NOR_FLASH
+       help
+         If the variable flashchecksum is set in the environment, perform a CRC
+         of the flash and print the value to console.
+
 config ALTERA_QSPI
        bool "Altera Generic Quad SPI Controller"
        depends on DM_MTD
@@ -146,6 +157,18 @@ config FLASH_PIC32
          This enables access to Microchip PIC32 internal non-CFI flash
          chips through PIC32 Non-Volatile-Memory Controller.
 
+config SYS_FLASH_ERASE_TOUT
+       int "Timeout in ms for performing an erase operation on the flash"
+       depends on FLASH_PIC32
+       help
+         Timeout for Flash erase operations (in ms)
+
+config SYS_FLASH_WRITE_TOUT
+       int "Timeout in ms for performing a write operation on the flash"
+       depends on FLASH_PIC32
+       help
+         Timeout for Flash write operations (in ms)
+
 config RENESAS_RPC_HF
        bool "Renesas RCar Gen3 RPC HyperFlash driver"
        depends on RCAR_GEN3 && DM_MTD