# SPDX-License-Identifier: GPL-2.0-only
menuconfig MTD_SPI_NAND
	tristate "SPI NAND device Support"
	select MTD_NAND_CORE
	depends on SPI_MASTER
	select SPI_MEM
	help
	  This is the framework for the SPI NAND device drivers.

if MTD_SPI_NAND

config MTD_SPI_NAND_SW
        bool "Support for 9311B SPI-NAND deviece"
        default n
        help
          This is the updated framework for supporting SPI-NAND INIT flow.

config NAND_HIDE_BAD
    tristate "NAND Flash factory bad block hidden mechanism"
    depends on MTD_SPI_NAND_SW && MTD_SPI_NAND
    help
      This configuration is used for the factory bad block hidden mechanism

endif # MTD_SPI_NAND
