# drivers/mtd/chips/Config.in

# $Id: Config.in,v 1.1 2001/04/20 15:27:37 dwmw2 Exp $

mainmenu_option next_comment

comment 'RAM/ROM/Flash chip drivers'

dep_tristate '  Common Flash Interface (CFI) support' CONFIG_MTD_CFI $CONFIG_MTD
if [ "$CONFIG_MTD_CFI" = "y" -o "$CONFIG_MTD_CFI" = "m" ]; then
   bool '  CFI Virtual erase regions (EXPERIMENTAL)' CONFIG_MTD_CFI_VIRTUAL_ER 
   bool '  CFI Advanced configuration options' CONFIG_MTD_CFI_ADV_OPTIONS
   if [ "$CONFIG_MTD_CFI_ADV_OPTIONS" = "y" ]; then
     choice 'Flash cmd/query data swapping'			\
	"NO			CONFIG_MTD_CFI_NOSWAP		\
	 BIG_ENDIAN_BYTE	CONFIG_MTD_CFI_BE_BYTE_SWAP	\
	 LITTLE_ENDIAN_BYTE	CONFIG_MTD_CFI_LE_BYTE_SWAP	\
	 LART_ENDIAN_BYTE	CONFIG_MTD_CFI_LART_BIT_SWAP"	NO
     bool '  Specific CFI Flash geometry selection' CONFIG_MTD_CFI_GEOMETRY
     if [ "$CONFIG_MTD_CFI_GEOMETRY" = "y" ]; then
       bool '    Support  8-bit buswidth' CONFIG_MTD_CFI_B1
       bool '    Support 16-bit buswidth' CONFIG_MTD_CFI_B2
       bool '    Support 32-bit buswidth' CONFIG_MTD_CFI_B4
       bool '    Support 1-chip flash interleave' CONFIG_MTD_CFI_I1
       bool '    Support 2-chip flash interleave' CONFIG_MTD_CFI_I2
       bool '    Support 4-chip flash interleave' CONFIG_MTD_CFI_I4
     fi
  fi
fi
dep_tristate '    CFI support for Intel/Sharp Extended Commands' CONFIG_MTD_CFI_INTELEXT $CONFIG_MTD_CFI
dep_tristate '    CFI support for AMD/Fujitsu Standard Commands' CONFIG_MTD_CFI_AMDSTD $CONFIG_MTD_CFI
dep_tristate '  AMD compatible flash chip support (non-CFI)' CONFIG_MTD_AMDSTD $CONFIG_MTD
dep_tristate '  pre-CFI Sharp chip support' CONFIG_MTD_SHARP $CONFIG_MTD
dep_tristate '  Support for RAM chips in bus mapping' CONFIG_MTD_RAM $CONFIG_MTD
dep_tristate '  Support for ROM chips in bus mapping' CONFIG_MTD_ROM $CONFIG_MTD
dep_tristate '  JEDEC device support' CONFIG_MTD_JEDEC $CONFIG_MTD

endmenu
