Config.in
上传用户:lgb322
上传日期:2013-02-24
资源大小:30529k
文件大小:3k
源码类别:

嵌入式Linux

开发平台:

Unix_Linux

  1. # drivers/mtd/chips/Config.in
  2. # $Id: Config.in,v 1.15 2002/02/13 16:29:15 dwmw2 Exp $
  3. mainmenu_option next_comment
  4. comment 'RAM/ROM/Flash chip drivers'
  5. dep_tristate '  Detect flash chips by Common Flash Interface (CFI) probe' CONFIG_MTD_CFI $CONFIG_MTD
  6. dep_tristate '  Detect JEDEC JESD21c compatible flash chips' CONFIG_MTD_JEDECPROBE $CONFIG_MTD
  7. if [ "$CONFIG_MTD_CFI" = "y" -o "$CONFIG_MTD_JEDECPROBE" = "y" ]; then
  8.    define_bool CONFIG_MTD_GEN_PROBE y
  9. else
  10.    if [ "$CONFIG_MTD_CFI" = "m" -o "$CONFIG_MTD_JEDECPROBE" = "m" ]; then
  11.       define_bool CONFIG_MTD_GEN_PROBE m
  12.    else
  13.       define_bool CONFIG_MTD_GEN_PROBE n
  14.    fi
  15. fi
  16. if [ "$CONFIG_MTD_GEN_PROBE" = "y" -o "$CONFIG_MTD_GEN_PROBE" = "m" ]; then
  17.    bool '  Flash chip driver advanced configuration options' CONFIG_MTD_CFI_ADV_OPTIONS
  18.    if [ "$CONFIG_MTD_CFI_ADV_OPTIONS" = "y" ]; then
  19.      choice 'Flash cmd/query data swapping'
  20. "NO CONFIG_MTD_CFI_NOSWAP
  21.  BIG_ENDIAN_BYTE CONFIG_MTD_CFI_BE_BYTE_SWAP
  22.  LITTLE_ENDIAN_BYTE CONFIG_MTD_CFI_LE_BYTE_SWAP" NO
  23.      bool '  Specific CFI Flash geometry selection' CONFIG_MTD_CFI_GEOMETRY
  24.      if [ "$CONFIG_MTD_CFI_GEOMETRY" = "y" ]; then
  25.        bool '    Support  8-bit buswidth' CONFIG_MTD_CFI_B1
  26.        bool '    Support 16-bit buswidth' CONFIG_MTD_CFI_B2
  27.        bool '    Support 32-bit buswidth' CONFIG_MTD_CFI_B4
  28.        bool '    Support 64-bit buswidth' CONFIG_MTD_CFI_B8
  29.  if [ "$CONFIG_MTD_CFI_B1" = "y" ]; then
  30.    define_bool CONFIG_MTD_CFI_I1 y
  31.          else
  32.            bool '    Support 1-chip flash interleave' CONFIG_MTD_CFI_I1
  33.  fi
  34.        bool '    Support 2-chip flash interleave' CONFIG_MTD_CFI_I2
  35.        bool '    Support 4-chip flash interleave' CONFIG_MTD_CFI_I4
  36.        bool '    Support 8-chip flash interleave' CONFIG_MTD_CFI_I8
  37.      fi
  38.   fi
  39. fi
  40. dep_tristate '  Support for Intel/Sharp flash chips' CONFIG_MTD_CFI_INTELEXT $CONFIG_MTD_GEN_PROBE
  41. dep_tristate '  Support for AMD/Fujitsu flash chips' CONFIG_MTD_CFI_AMDSTD $CONFIG_MTD_GEN_PROBE
  42. dep_tristate '  Support for RAM chips in bus mapping' CONFIG_MTD_RAM $CONFIG_MTD
  43. dep_tristate '  Support for ROM chips in bus mapping' CONFIG_MTD_ROM $CONFIG_MTD
  44. dep_tristate '  Support for absent chips in bus mapping' CONFIG_MTD_ABSENT $CONFIG_MTD
  45. bool '  Older (theoretically obsoleted now) drivers for non-CFI chips' CONFIG_MTD_OBSOLETE_CHIPS
  46. dep_tristate '  AMD compatible flash chip support (non-CFI)' CONFIG_MTD_AMDSTD $CONFIG_MTD $CONFIG_MTD_OBSOLETE_CHIPS
  47. dep_tristate '  pre-CFI Sharp chip support' CONFIG_MTD_SHARP $CONFIG_MTD $CONFIG_MTD_OBSOLETE_CHIPS
  48. dep_tristate '  JEDEC device support' CONFIG_MTD_JEDEC $CONFIG_MTD $CONFIG_MTD_OBSOLETE_CHIPS
  49. endmenu