Kconfig 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. # drivers/mtd/nand/Kconfig
  2. # $Id: Kconfig,v 1.31 2005/06/20 12:03:21 bjd Exp $
  3. menu "NAND Flash Device Drivers"
  4. depends on MTD!=n
  5. config MTD_NAND
  6. tristate "NAND Device Support"
  7. depends on MTD
  8. select MTD_NAND_IDS
  9. help
  10. This enables support for accessing all type of NAND flash
  11. devices. For further information see
  12. <http://www.linux-mtd.infradead.org/tech/nand.html>.
  13. config MTD_NAND_VERIFY_WRITE
  14. bool "Verify NAND page writes"
  15. depends on MTD_NAND
  16. help
  17. This adds an extra check when data is written to the flash. The
  18. NAND flash device internally checks only bits transitioning
  19. from 1 to 0. There is a rare possibility that even though the
  20. device thinks the write was successful, a bit could have been
  21. flipped accidentaly due to device wear or something else.
  22. config MTD_NAND_AUTCPU12
  23. tristate "SmartMediaCard on autronix autcpu12 board"
  24. depends on ARM && MTD_NAND && ARCH_AUTCPU12
  25. help
  26. This enables the driver for the autronix autcpu12 board to
  27. access the SmartMediaCard.
  28. config MTD_NAND_EDB7312
  29. tristate "Support for Cirrus Logic EBD7312 evaluation board"
  30. depends on ARM && MTD_NAND && ARCH_EDB7312
  31. help
  32. This enables the driver for the Cirrus Logic EBD7312 evaluation
  33. board to access the onboard NAND Flash.
  34. config MTD_NAND_H1900
  35. tristate "iPAQ H1900 flash"
  36. depends on ARM && MTD_NAND && ARCH_PXA && MTD_PARTITIONS
  37. help
  38. This enables the driver for the iPAQ h1900 flash.
  39. config MTD_NAND_SPIA
  40. tristate "NAND Flash device on SPIA board"
  41. depends on ARM && ARCH_P720T && MTD_NAND
  42. help
  43. If you had to ask, you don't have one. Say 'N'.
  44. config MTD_NAND_TOTO
  45. tristate "NAND Flash device on TOTO board"
  46. depends on ARM && ARCH_OMAP && MTD_NAND
  47. help
  48. Support for NAND flash on Texas Instruments Toto platform.
  49. config MTD_NAND_IDS
  50. tristate
  51. config MTD_NAND_TX4925NDFMC
  52. tristate "SmartMedia Card on Toshiba RBTX4925 reference board"
  53. depends on TOSHIBA_RBTX4925 && MTD_NAND && TOSHIBA_RBTX4925_MPLEX_NAND
  54. help
  55. This enables the driver for the NAND flash device found on the
  56. Toshiba RBTX4925 reference board, which is a SmartMediaCard.
  57. config MTD_NAND_TX4938NDFMC
  58. tristate "NAND Flash device on Toshiba RBTX4938 reference board"
  59. depends on TOSHIBA_RBTX4938 && MTD_NAND && TOSHIBA_RBTX4938_MPLEX_NAND
  60. help
  61. This enables the driver for the NAND flash device found on the
  62. Toshiba RBTX4938 reference board.
  63. config MTD_NAND_AU1550
  64. tristate "Au1550 NAND support"
  65. depends on SOC_AU1550 && MTD_NAND
  66. help
  67. This enables the driver for the NAND flash controller on the
  68. AMD/Alchemy 1550 SOC.
  69. config MTD_NAND_RTC_FROM4
  70. tristate "Renesas Flash ROM 4-slot interface board (FROM_BOARD4)"
  71. depends on MTD_NAND && SH_SOLUTION_ENGINE
  72. select REED_SOLOMON
  73. select REED_SOLOMON_DEC8
  74. help
  75. This enables the driver for the Renesas Technology AG-AND
  76. flash interface board (FROM_BOARD4)
  77. config MTD_NAND_PPCHAMELEONEVB
  78. tristate "NAND Flash device on PPChameleonEVB board"
  79. depends on PPCHAMELEONEVB && MTD_NAND
  80. help
  81. This enables the NAND flash driver on the PPChameleon EVB Board.
  82. config MTD_NAND_S3C2410
  83. tristate "NAND Flash support for S3C2410/S3C2440 SoC"
  84. depends on ARCH_S3C2410 && MTD_NAND
  85. help
  86. This enables the NAND flash controller on the S3C2410 and S3C2440
  87. SoCs
  88. No board specfic support is done by this driver, each board
  89. must advertise a platform_device for the driver to attach.
  90. config MTD_NAND_S3C2410_DEBUG
  91. bool "S3C2410 NAND driver debug"
  92. depends on MTD_NAND_S3C2410
  93. help
  94. Enable debugging of the S3C2410 NAND driver
  95. config MTD_NAND_S3C2410_HWECC
  96. bool "S3C2410 NAND Hardware ECC"
  97. depends on MTD_NAND_S3C2410
  98. help
  99. Enable the use of the S3C2410's internal ECC generator when
  100. using NAND. Early versions of the chip have had problems with
  101. incorrect ECC generation, and if using these, the default of
  102. software ECC is preferable.
  103. If you lay down a device with the hardware ECC, then you will
  104. currently not be able to switch to software, as there is no
  105. implementation for ECC method used by the S3C2410
  106. config MTD_NAND_DISKONCHIP
  107. tristate "DiskOnChip 2000, Millennium and Millennium Plus (NAND reimplementation) (EXPERIMENTAL)"
  108. depends on MTD_NAND && EXPERIMENTAL
  109. select REED_SOLOMON
  110. select REED_SOLOMON_DEC16
  111. help
  112. This is a reimplementation of M-Systems DiskOnChip 2000,
  113. Millennium and Millennium Plus as a standard NAND device driver,
  114. as opposed to the earlier self-contained MTD device drivers.
  115. This should enable, among other things, proper JFFS2 operation on
  116. these devices.
  117. config MTD_NAND_DISKONCHIP_PROBE_ADVANCED
  118. bool "Advanced detection options for DiskOnChip"
  119. depends on MTD_NAND_DISKONCHIP
  120. help
  121. This option allows you to specify nonstandard address at which to
  122. probe for a DiskOnChip, or to change the detection options. You
  123. are unlikely to need any of this unless you are using LinuxBIOS.
  124. Say 'N'.
  125. config MTD_NAND_DISKONCHIP_PROBE_ADDRESS
  126. hex "Physical address of DiskOnChip" if MTD_NAND_DISKONCHIP_PROBE_ADVANCED
  127. depends on MTD_NAND_DISKONCHIP
  128. default "0"
  129. ---help---
  130. By default, the probe for DiskOnChip devices will look for a
  131. DiskOnChip at every multiple of 0x2000 between 0xC8000 and 0xEE000.
  132. This option allows you to specify a single address at which to probe
  133. for the device, which is useful if you have other devices in that
  134. range which get upset when they are probed.
  135. (Note that on PowerPC, the normal probe will only check at
  136. 0xE4000000.)
  137. Normally, you should leave this set to zero, to allow the probe at
  138. the normal addresses.
  139. config MTD_NAND_DISKONCHIP_PROBE_HIGH
  140. bool "Probe high addresses"
  141. depends on MTD_NAND_DISKONCHIP_PROBE_ADVANCED
  142. help
  143. By default, the probe for DiskOnChip devices will look for a
  144. DiskOnChip at every multiple of 0x2000 between 0xC8000 and 0xEE000.
  145. This option changes to make it probe between 0xFFFC8000 and
  146. 0xFFFEE000. Unless you are using LinuxBIOS, this is unlikely to be
  147. useful to you. Say 'N'.
  148. config MTD_NAND_DISKONCHIP_BBTWRITE
  149. bool "Allow BBT writes on DiskOnChip Millennium and 2000TSOP"
  150. depends on MTD_NAND_DISKONCHIP
  151. help
  152. On DiskOnChip devices shipped with the INFTL filesystem (Millennium
  153. and 2000 TSOP/Alon), Linux reserves some space at the end of the
  154. device for the Bad Block Table (BBT). If you have existing INFTL
  155. data on your device (created by non-Linux tools such as M-Systems'
  156. DOS drivers), your data might overlap the area Linux wants to use for
  157. the BBT. If this is a concern for you, leave this option disabled and
  158. Linux will not write BBT data into this area.
  159. The downside of leaving this option disabled is that if bad blocks
  160. are detected by Linux, they will not be recorded in the BBT, which
  161. could cause future problems.
  162. Once you enable this option, new filesystems (INFTL or others, created
  163. in Linux or other operating systems) will not use the reserved area.
  164. The only reason not to enable this option is to prevent damage to
  165. preexisting filesystems.
  166. Even if you leave this disabled, you can enable BBT writes at module
  167. load time (assuming you build diskonchip as a module) with the module
  168. parameter "inftl_bbt_write=1".
  169. config MTD_NAND_SHARPSL
  170. bool "Support for NAND Flash on Sharp SL Series (C7xx + others)"
  171. depends on MTD_NAND && ARCH_PXA
  172. config MTD_NAND_NANDSIM
  173. bool "Support for NAND Flash Simulator"
  174. depends on MTD_NAND && MTD_PARTITIONS
  175. help
  176. The simulator may simulate verious NAND flash chips for the
  177. MTD nand layer.
  178. endmenu