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