Kconfig 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257
  1. # drivers/mtd/nand/Kconfig
  2. # $Id: Kconfig,v 1.35 2005/11/07 11:14:30 gleixner 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/doc/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 accidentally due to device wear or something else.
  22. config MTD_NAND_ECC_SMC
  23. bool "NAND ECC Smart Media byte order"
  24. depends on MTD_NAND
  25. default n
  26. help
  27. Software ECC according to the Smart Media Specification.
  28. The original Linux implementation had byte 0 and 1 swapped.
  29. config MTD_NAND_AUTCPU12
  30. tristate "SmartMediaCard on autronix autcpu12 board"
  31. depends on MTD_NAND && ARCH_AUTCPU12
  32. help
  33. This enables the driver for the autronix autcpu12 board to
  34. access the SmartMediaCard.
  35. config MTD_NAND_EDB7312
  36. tristate "Support for Cirrus Logic EBD7312 evaluation board"
  37. depends on MTD_NAND && ARCH_EDB7312
  38. help
  39. This enables the driver for the Cirrus Logic EBD7312 evaluation
  40. board to access the onboard NAND Flash.
  41. config MTD_NAND_H1900
  42. tristate "iPAQ H1900 flash"
  43. depends on MTD_NAND && ARCH_PXA && MTD_PARTITIONS
  44. help
  45. This enables the driver for the iPAQ h1900 flash.
  46. config MTD_NAND_SPIA
  47. tristate "NAND Flash device on SPIA board"
  48. depends on ARCH_P720T && MTD_NAND
  49. help
  50. If you had to ask, you don't have one. Say 'N'.
  51. config MTD_NAND_AMS_DELTA
  52. tristate "NAND Flash device on Amstrad E3"
  53. depends on MACH_AMS_DELTA && MTD_NAND
  54. help
  55. Support for NAND flash on Amstrad E3 (Delta).
  56. config MTD_NAND_TOTO
  57. tristate "NAND Flash device on TOTO board"
  58. depends on ARCH_OMAP && MTD_NAND && BROKEN
  59. help
  60. Support for NAND flash on Texas Instruments Toto platform.
  61. config MTD_NAND_TS7250
  62. tristate "NAND Flash device on TS-7250 board"
  63. depends on MACH_TS72XX && MTD_NAND
  64. help
  65. Support for NAND flash on Technologic Systems TS-7250 platform.
  66. config MTD_NAND_IDS
  67. tristate
  68. config MTD_NAND_AU1550
  69. tristate "Au1550/1200 NAND support"
  70. depends on (SOC_AU1200 || SOC_AU1550) && MTD_NAND
  71. help
  72. This enables the driver for the NAND flash controller on the
  73. AMD/Alchemy 1550 SOC.
  74. config MTD_NAND_RTC_FROM4
  75. tristate "Renesas Flash ROM 4-slot interface board (FROM_BOARD4)"
  76. depends on MTD_NAND && SH_SOLUTION_ENGINE
  77. select REED_SOLOMON
  78. select REED_SOLOMON_DEC8
  79. select BITREVERSE
  80. help
  81. This enables the driver for the Renesas Technology AG-AND
  82. flash interface board (FROM_BOARD4)
  83. config MTD_NAND_PPCHAMELEONEVB
  84. tristate "NAND Flash device on PPChameleonEVB board"
  85. depends on PPCHAMELEONEVB && MTD_NAND && BROKEN
  86. help
  87. This enables the NAND flash driver on the PPChameleon EVB Board.
  88. config MTD_NAND_S3C2410
  89. tristate "NAND Flash support for S3C2410/S3C2440 SoC"
  90. depends on ARCH_S3C2410 && MTD_NAND
  91. help
  92. This enables the NAND flash controller on the S3C2410 and S3C2440
  93. SoCs
  94. No board specific support is done by this driver, each board
  95. must advertise a platform_device for the driver to attach.
  96. config MTD_NAND_S3C2410_DEBUG
  97. bool "S3C2410 NAND driver debug"
  98. depends on MTD_NAND_S3C2410
  99. help
  100. Enable debugging of the S3C2410 NAND driver
  101. config MTD_NAND_S3C2410_HWECC
  102. bool "S3C2410 NAND Hardware ECC"
  103. depends on MTD_NAND_S3C2410
  104. help
  105. Enable the use of the S3C2410's internal ECC generator when
  106. using NAND. Early versions of the chip have had problems with
  107. incorrect ECC generation, and if using these, the default of
  108. software ECC is preferable.
  109. If you lay down a device with the hardware ECC, then you will
  110. currently not be able to switch to software, as there is no
  111. implementation for ECC method used by the S3C2410
  112. config MTD_NAND_NDFC
  113. tristate "NDFC NanD Flash Controller"
  114. depends on MTD_NAND && 44x
  115. help
  116. NDFC Nand Flash Controllers are integrated in EP44x SoCs
  117. config MTD_NAND_S3C2410_CLKSTOP
  118. bool "S3C2410 NAND IDLE clock stop"
  119. depends on MTD_NAND_S3C2410
  120. default n
  121. help
  122. Stop the clock to the NAND controller when there is no chip
  123. selected to save power. This will mean there is a small delay
  124. when the is NAND chip selected or released, but will save
  125. approximately 5mA of power when there is nothing happening.
  126. config MTD_NAND_DISKONCHIP
  127. tristate "DiskOnChip 2000, Millennium and Millennium Plus (NAND reimplementation) (EXPERIMENTAL)"
  128. depends on MTD_NAND && EXPERIMENTAL
  129. select REED_SOLOMON
  130. select REED_SOLOMON_DEC16
  131. help
  132. This is a reimplementation of M-Systems DiskOnChip 2000,
  133. Millennium and Millennium Plus as a standard NAND device driver,
  134. as opposed to the earlier self-contained MTD device drivers.
  135. This should enable, among other things, proper JFFS2 operation on
  136. these devices.
  137. config MTD_NAND_DISKONCHIP_PROBE_ADVANCED
  138. bool "Advanced detection options for DiskOnChip"
  139. depends on MTD_NAND_DISKONCHIP
  140. help
  141. This option allows you to specify nonstandard address at which to
  142. probe for a DiskOnChip, or to change the detection options. You
  143. are unlikely to need any of this unless you are using LinuxBIOS.
  144. Say 'N'.
  145. config MTD_NAND_DISKONCHIP_PROBE_ADDRESS
  146. hex "Physical address of DiskOnChip" if MTD_NAND_DISKONCHIP_PROBE_ADVANCED
  147. depends on MTD_NAND_DISKONCHIP
  148. default "0"
  149. ---help---
  150. By default, the probe for DiskOnChip devices will look for a
  151. DiskOnChip at every multiple of 0x2000 between 0xC8000 and 0xEE000.
  152. This option allows you to specify a single address at which to probe
  153. for the device, which is useful if you have other devices in that
  154. range which get upset when they are probed.
  155. (Note that on PowerPC, the normal probe will only check at
  156. 0xE4000000.)
  157. Normally, you should leave this set to zero, to allow the probe at
  158. the normal addresses.
  159. config MTD_NAND_DISKONCHIP_PROBE_HIGH
  160. bool "Probe high addresses"
  161. depends on MTD_NAND_DISKONCHIP_PROBE_ADVANCED
  162. help
  163. By default, the probe for DiskOnChip devices will look for a
  164. DiskOnChip at every multiple of 0x2000 between 0xC8000 and 0xEE000.
  165. This option changes to make it probe between 0xFFFC8000 and
  166. 0xFFFEE000. Unless you are using LinuxBIOS, this is unlikely to be
  167. useful to you. Say 'N'.
  168. config MTD_NAND_DISKONCHIP_BBTWRITE
  169. bool "Allow BBT writes on DiskOnChip Millennium and 2000TSOP"
  170. depends on MTD_NAND_DISKONCHIP
  171. help
  172. On DiskOnChip devices shipped with the INFTL filesystem (Millennium
  173. and 2000 TSOP/Alon), Linux reserves some space at the end of the
  174. device for the Bad Block Table (BBT). If you have existing INFTL
  175. data on your device (created by non-Linux tools such as M-Systems'
  176. DOS drivers), your data might overlap the area Linux wants to use for
  177. the BBT. If this is a concern for you, leave this option disabled and
  178. Linux will not write BBT data into this area.
  179. The downside of leaving this option disabled is that if bad blocks
  180. are detected by Linux, they will not be recorded in the BBT, which
  181. could cause future problems.
  182. Once you enable this option, new filesystems (INFTL or others, created
  183. in Linux or other operating systems) will not use the reserved area.
  184. The only reason not to enable this option is to prevent damage to
  185. preexisting filesystems.
  186. Even if you leave this disabled, you can enable BBT writes at module
  187. load time (assuming you build diskonchip as a module) with the module
  188. parameter "inftl_bbt_write=1".
  189. config MTD_NAND_SHARPSL
  190. tristate "Support for NAND Flash on Sharp SL Series (C7xx + others)"
  191. depends on MTD_NAND && ARCH_PXA
  192. config MTD_NAND_CAFE
  193. tristate "NAND support for OLPC CAFÉ chip"
  194. depends on PCI
  195. help
  196. Use NAND flash attached to the CAFÉ chip designed for the $100
  197. laptop.
  198. config MTD_NAND_CS553X
  199. tristate "NAND support for CS5535/CS5536 (AMD Geode companion chip)"
  200. depends on MTD_NAND && X86_32 && (X86_PC || X86_GENERICARCH)
  201. help
  202. The CS553x companion chips for the AMD Geode processor
  203. include NAND flash controllers with built-in hardware ECC
  204. capabilities; enabling this option will allow you to use
  205. these. The driver will check the MSRs to verify that the
  206. controller is enabled for NAND, and currently requires that
  207. the controller be in MMIO mode.
  208. If you say "m", the module will be called "cs553x_nand.ko".
  209. config MTD_NAND_AT91
  210. bool "Support for NAND Flash / SmartMedia on AT91"
  211. depends on MTD_NAND && ARCH_AT91
  212. help
  213. Enables support for NAND Flash / Smart Media Card interface
  214. on Atmel AT91 processors.
  215. config MTD_NAND_NANDSIM
  216. tristate "Support for NAND Flash Simulator"
  217. depends on MTD_NAND && MTD_PARTITIONS
  218. help
  219. The simulator may simulate various NAND flash chips for the
  220. MTD nand layer.
  221. endmenu