Kconfig 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  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/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 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 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 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 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 ARCH_OMAP && MTD_NAND
  47. help
  48. Support for NAND flash on Texas Instruments Toto platform.
  49. config MTD_NAND_TS7250
  50. tristate "NAND Flash device on TS-7250 board"
  51. depends on MACH_TS72XX && MTD_NAND
  52. help
  53. Support for NAND flash on Technologic Systems TS-7250 platform.
  54. config MTD_NAND_IDS
  55. tristate
  56. config MTD_NAND_AU1550
  57. tristate "Au1550/1200 NAND support"
  58. depends on (SOC_AU1200 || SOC_AU1550) && MTD_NAND
  59. help
  60. This enables the driver for the NAND flash controller on the
  61. AMD/Alchemy 1550 SOC.
  62. config MTD_NAND_RTC_FROM4
  63. tristate "Renesas Flash ROM 4-slot interface board (FROM_BOARD4)"
  64. depends on MTD_NAND && SH_SOLUTION_ENGINE
  65. select REED_SOLOMON
  66. select REED_SOLOMON_DEC8
  67. help
  68. This enables the driver for the Renesas Technology AG-AND
  69. flash interface board (FROM_BOARD4)
  70. config MTD_NAND_PPCHAMELEONEVB
  71. tristate "NAND Flash device on PPChameleonEVB board"
  72. depends on PPCHAMELEONEVB && MTD_NAND
  73. help
  74. This enables the NAND flash driver on the PPChameleon EVB Board.
  75. config MTD_NAND_S3C2410
  76. tristate "NAND Flash support for S3C2410/S3C2440 SoC"
  77. depends on ARCH_S3C2410 && MTD_NAND
  78. help
  79. This enables the NAND flash controller on the S3C2410 and S3C2440
  80. SoCs
  81. No board specfic support is done by this driver, each board
  82. must advertise a platform_device for the driver to attach.
  83. config MTD_NAND_S3C2410_DEBUG
  84. bool "S3C2410 NAND driver debug"
  85. depends on MTD_NAND_S3C2410
  86. help
  87. Enable debugging of the S3C2410 NAND driver
  88. config MTD_NAND_S3C2410_HWECC
  89. bool "S3C2410 NAND Hardware ECC"
  90. depends on MTD_NAND_S3C2410
  91. help
  92. Enable the use of the S3C2410's internal ECC generator when
  93. using NAND. Early versions of the chip have had problems with
  94. incorrect ECC generation, and if using these, the default of
  95. software ECC is preferable.
  96. If you lay down a device with the hardware ECC, then you will
  97. currently not be able to switch to software, as there is no
  98. implementation for ECC method used by the S3C2410
  99. config MTD_NAND_DISKONCHIP
  100. tristate "DiskOnChip 2000, Millennium and Millennium Plus (NAND reimplementation) (EXPERIMENTAL)"
  101. depends on MTD_NAND && EXPERIMENTAL
  102. select REED_SOLOMON
  103. select REED_SOLOMON_DEC16
  104. help
  105. This is a reimplementation of M-Systems DiskOnChip 2000,
  106. Millennium and Millennium Plus as a standard NAND device driver,
  107. as opposed to the earlier self-contained MTD device drivers.
  108. This should enable, among other things, proper JFFS2 operation on
  109. these devices.
  110. config MTD_NAND_DISKONCHIP_PROBE_ADVANCED
  111. bool "Advanced detection options for DiskOnChip"
  112. depends on MTD_NAND_DISKONCHIP
  113. help
  114. This option allows you to specify nonstandard address at which to
  115. probe for a DiskOnChip, or to change the detection options. You
  116. are unlikely to need any of this unless you are using LinuxBIOS.
  117. Say 'N'.
  118. config MTD_NAND_DISKONCHIP_PROBE_ADDRESS
  119. hex "Physical address of DiskOnChip" if MTD_NAND_DISKONCHIP_PROBE_ADVANCED
  120. depends on MTD_NAND_DISKONCHIP
  121. default "0"
  122. ---help---
  123. By default, the probe for DiskOnChip devices will look for a
  124. DiskOnChip at every multiple of 0x2000 between 0xC8000 and 0xEE000.
  125. This option allows you to specify a single address at which to probe
  126. for the device, which is useful if you have other devices in that
  127. range which get upset when they are probed.
  128. (Note that on PowerPC, the normal probe will only check at
  129. 0xE4000000.)
  130. Normally, you should leave this set to zero, to allow the probe at
  131. the normal addresses.
  132. config MTD_NAND_DISKONCHIP_PROBE_HIGH
  133. bool "Probe high addresses"
  134. depends on MTD_NAND_DISKONCHIP_PROBE_ADVANCED
  135. help
  136. By default, the probe for DiskOnChip devices will look for a
  137. DiskOnChip at every multiple of 0x2000 between 0xC8000 and 0xEE000.
  138. This option changes to make it probe between 0xFFFC8000 and
  139. 0xFFFEE000. Unless you are using LinuxBIOS, this is unlikely to be
  140. useful to you. Say 'N'.
  141. config MTD_NAND_DISKONCHIP_BBTWRITE
  142. bool "Allow BBT writes on DiskOnChip Millennium and 2000TSOP"
  143. depends on MTD_NAND_DISKONCHIP
  144. help
  145. On DiskOnChip devices shipped with the INFTL filesystem (Millennium
  146. and 2000 TSOP/Alon), Linux reserves some space at the end of the
  147. device for the Bad Block Table (BBT). If you have existing INFTL
  148. data on your device (created by non-Linux tools such as M-Systems'
  149. DOS drivers), your data might overlap the area Linux wants to use for
  150. the BBT. If this is a concern for you, leave this option disabled and
  151. Linux will not write BBT data into this area.
  152. The downside of leaving this option disabled is that if bad blocks
  153. are detected by Linux, they will not be recorded in the BBT, which
  154. could cause future problems.
  155. Once you enable this option, new filesystems (INFTL or others, created
  156. in Linux or other operating systems) will not use the reserved area.
  157. The only reason not to enable this option is to prevent damage to
  158. preexisting filesystems.
  159. Even if you leave this disabled, you can enable BBT writes at module
  160. load time (assuming you build diskonchip as a module) with the module
  161. parameter "inftl_bbt_write=1".
  162. config MTD_NAND_SHARPSL
  163. tristate "Support for NAND Flash on Sharp SL Series (C7xx + others)"
  164. depends on MTD_NAND && ARCH_PXA
  165. config MTD_NAND_CS553X
  166. tristate "NAND support for CS5535/CS5536 (AMD Geode companion chip)"
  167. depends on MTD_NAND && X86_PC && PCI
  168. config MTD_NAND_NANDSIM
  169. tristate "Support for NAND Flash Simulator"
  170. depends on MTD_NAND && MTD_PARTITIONS
  171. help
  172. The simulator may simulate verious NAND flash chips for the
  173. MTD nand layer.
  174. endmenu