Kconfig 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610
  1. config MTD_NAND_ECC
  2. tristate
  3. config MTD_NAND_ECC_SMC
  4. bool "NAND ECC Smart Media byte order"
  5. depends on MTD_NAND_ECC
  6. default n
  7. help
  8. Software ECC according to the Smart Media Specification.
  9. The original Linux implementation had byte 0 and 1 swapped.
  10. menuconfig MTD_NAND
  11. tristate "NAND Device Support"
  12. depends on MTD
  13. select MTD_NAND_IDS
  14. select MTD_NAND_ECC
  15. help
  16. This enables support for accessing all type of NAND flash
  17. devices. For further information see
  18. <http://www.linux-mtd.infradead.org/doc/nand.html>.
  19. if MTD_NAND
  20. config MTD_NAND_VERIFY_WRITE
  21. bool "Verify NAND page writes"
  22. help
  23. This adds an extra check when data is written to the flash. The
  24. NAND flash device internally checks only bits transitioning
  25. from 1 to 0. There is a rare possibility that even though the
  26. device thinks the write was successful, a bit could have been
  27. flipped accidentally due to device wear or something else.
  28. config MTD_NAND_BCH
  29. tristate
  30. select BCH
  31. depends on MTD_NAND_ECC_BCH
  32. default MTD_NAND
  33. config MTD_NAND_ECC_BCH
  34. bool "Support software BCH ECC"
  35. default n
  36. help
  37. This enables support for software BCH error correction. Binary BCH
  38. codes are more powerful and cpu intensive than traditional Hamming
  39. ECC codes. They are used with NAND devices requiring more than 1 bit
  40. of error correction.
  41. config MTD_SM_COMMON
  42. tristate
  43. default n
  44. config MTD_NAND_MUSEUM_IDS
  45. bool "Enable chip ids for obsolete ancient NAND devices"
  46. default n
  47. help
  48. Enable this option only when your board has first generation
  49. NAND chips (page size 256 byte, erase size 4-8KiB). The IDs
  50. of these chips were reused by later, larger chips.
  51. config MTD_NAND_AUTCPU12
  52. tristate "SmartMediaCard on autronix autcpu12 board"
  53. depends on ARCH_AUTCPU12
  54. help
  55. This enables the driver for the autronix autcpu12 board to
  56. access the SmartMediaCard.
  57. config MTD_NAND_DENALI
  58. depends on PCI
  59. tristate "Support Denali NAND controller on Intel Moorestown"
  60. help
  61. Enable the driver for NAND flash on Intel Moorestown, using the
  62. Denali NAND controller core.
  63. config MTD_NAND_DENALI_SCRATCH_REG_ADDR
  64. hex "Denali NAND size scratch register address"
  65. default "0xFF108018"
  66. depends on MTD_NAND_DENALI
  67. help
  68. Some platforms place the NAND chip size in a scratch register
  69. because (some versions of) the driver aren't able to automatically
  70. determine the size of certain chips. Set the address of the
  71. scratch register here to enable this feature. On Intel Moorestown
  72. boards, the scratch register is at 0xFF108018.
  73. config MTD_NAND_H1900
  74. tristate "iPAQ H1900 flash"
  75. depends on ARCH_PXA && BROKEN
  76. help
  77. This enables the driver for the iPAQ h1900 flash.
  78. config MTD_NAND_GPIO
  79. tristate "GPIO NAND Flash driver"
  80. depends on GENERIC_GPIO && ARM
  81. help
  82. This enables a GPIO based NAND flash driver.
  83. config MTD_NAND_SPIA
  84. tristate "NAND Flash device on SPIA board"
  85. depends on ARCH_P720T
  86. help
  87. If you had to ask, you don't have one. Say 'N'.
  88. config MTD_NAND_AMS_DELTA
  89. tristate "NAND Flash device on Amstrad E3"
  90. depends on MACH_AMS_DELTA
  91. default y
  92. help
  93. Support for NAND flash on Amstrad E3 (Delta).
  94. config MTD_NAND_OMAP2
  95. tristate "NAND Flash device on OMAP2, OMAP3 and OMAP4"
  96. depends on ARCH_OMAP2PLUS
  97. help
  98. Support for NAND flash on Texas Instruments OMAP2, OMAP3 and OMAP4
  99. platforms.
  100. config MTD_NAND_OMAP_BCH
  101. depends on MTD_NAND && MTD_NAND_OMAP2 && ARCH_OMAP3
  102. bool "Enable support for hardware BCH error correction"
  103. default n
  104. select BCH
  105. select BCH_CONST_PARAMS
  106. help
  107. Support for hardware BCH error correction.
  108. choice
  109. prompt "BCH error correction capability"
  110. depends on MTD_NAND_OMAP_BCH
  111. config MTD_NAND_OMAP_BCH8
  112. bool "8 bits / 512 bytes (recommended)"
  113. help
  114. Support correcting up to 8 bitflips per 512-byte block.
  115. This will use 13 bytes of spare area per 512 bytes of page data.
  116. This is the recommended mode, as 4-bit mode does not work
  117. on some OMAP3 revisions, due to a hardware bug.
  118. config MTD_NAND_OMAP_BCH4
  119. bool "4 bits / 512 bytes"
  120. help
  121. Support correcting up to 4 bitflips per 512-byte block.
  122. This will use 7 bytes of spare area per 512 bytes of page data.
  123. Note that this mode does not work on some OMAP3 revisions, due to a
  124. hardware bug. Please check your OMAP datasheet before selecting this
  125. mode.
  126. endchoice
  127. if MTD_NAND_OMAP_BCH
  128. config BCH_CONST_M
  129. default 13
  130. config BCH_CONST_T
  131. default 4 if MTD_NAND_OMAP_BCH4
  132. default 8 if MTD_NAND_OMAP_BCH8
  133. endif
  134. config MTD_NAND_IDS
  135. tristate
  136. config MTD_NAND_RICOH
  137. tristate "Ricoh xD card reader"
  138. default n
  139. depends on PCI
  140. select MTD_SM_COMMON
  141. help
  142. Enable support for Ricoh R5C852 xD card reader
  143. You also need to enable ether
  144. NAND SSFDC (SmartMedia) read only translation layer' or new
  145. expermental, readwrite
  146. 'SmartMedia/xD new translation layer'
  147. config MTD_NAND_AU1550
  148. tristate "Au1550/1200 NAND support"
  149. depends on MIPS_ALCHEMY
  150. help
  151. This enables the driver for the NAND flash controller on the
  152. AMD/Alchemy 1550 SOC.
  153. config MTD_NAND_BF5XX
  154. tristate "Blackfin on-chip NAND Flash Controller driver"
  155. depends on BF54x || BF52x
  156. help
  157. This enables the Blackfin on-chip NAND flash controller
  158. No board specific support is done by this driver, each board
  159. must advertise a platform_device for the driver to attach.
  160. This driver can also be built as a module. If so, the module
  161. will be called bf5xx-nand.
  162. config MTD_NAND_BF5XX_HWECC
  163. bool "BF5XX NAND Hardware ECC"
  164. default y
  165. depends on MTD_NAND_BF5XX
  166. help
  167. Enable the use of the BF5XX's internal ECC generator when
  168. using NAND.
  169. config MTD_NAND_BF5XX_BOOTROM_ECC
  170. bool "Use Blackfin BootROM ECC Layout"
  171. default n
  172. depends on MTD_NAND_BF5XX_HWECC
  173. help
  174. If you wish to modify NAND pages and allow the Blackfin on-chip
  175. BootROM to boot from them, say Y here. This is only necessary
  176. if you are booting U-Boot out of NAND and you wish to update
  177. U-Boot from Linux' userspace. Otherwise, you should say N here.
  178. If unsure, say N.
  179. config MTD_NAND_RTC_FROM4
  180. tristate "Renesas Flash ROM 4-slot interface board (FROM_BOARD4)"
  181. depends on SH_SOLUTION_ENGINE
  182. select REED_SOLOMON
  183. select REED_SOLOMON_DEC8
  184. select BITREVERSE
  185. help
  186. This enables the driver for the Renesas Technology AG-AND
  187. flash interface board (FROM_BOARD4)
  188. config MTD_NAND_PPCHAMELEONEVB
  189. tristate "NAND Flash device on PPChameleonEVB board"
  190. depends on PPCHAMELEONEVB && BROKEN
  191. help
  192. This enables the NAND flash driver on the PPChameleon EVB Board.
  193. config MTD_NAND_S3C2410
  194. tristate "NAND Flash support for Samsung S3C SoCs"
  195. depends on ARCH_S3C24XX || ARCH_S3C64XX
  196. help
  197. This enables the NAND flash controller on the S3C24xx and S3C64xx
  198. SoCs
  199. No board specific support is done by this driver, each board
  200. must advertise a platform_device for the driver to attach.
  201. config MTD_NAND_S3C2410_DEBUG
  202. bool "Samsung S3C NAND driver debug"
  203. depends on MTD_NAND_S3C2410
  204. help
  205. Enable debugging of the S3C NAND driver
  206. config MTD_NAND_S3C2410_HWECC
  207. bool "Samsung S3C NAND Hardware ECC"
  208. depends on MTD_NAND_S3C2410
  209. help
  210. Enable the use of the controller's internal ECC generator when
  211. using NAND. Early versions of the chips have had problems with
  212. incorrect ECC generation, and if using these, the default of
  213. software ECC is preferable.
  214. config MTD_NAND_NDFC
  215. tristate "NDFC NanD Flash Controller"
  216. depends on 4xx
  217. select MTD_NAND_ECC_SMC
  218. help
  219. NDFC Nand Flash Controllers are integrated in IBM/AMCC's 4xx SoCs
  220. config MTD_NAND_S3C2410_CLKSTOP
  221. bool "Samsung S3C NAND IDLE clock stop"
  222. depends on MTD_NAND_S3C2410
  223. default n
  224. help
  225. Stop the clock to the NAND controller when there is no chip
  226. selected to save power. This will mean there is a small delay
  227. when the is NAND chip selected or released, but will save
  228. approximately 5mA of power when there is nothing happening.
  229. config MTD_NAND_BCM_UMI
  230. tristate "NAND Flash support for BCM Reference Boards"
  231. depends on ARCH_BCMRING
  232. help
  233. This enables the NAND flash controller on the BCM UMI block.
  234. No board specific support is done by this driver, each board
  235. must advertise a platform_device for the driver to attach.
  236. config MTD_NAND_BCM_UMI_HWCS
  237. bool "BCM UMI NAND Hardware CS"
  238. depends on MTD_NAND_BCM_UMI
  239. help
  240. Enable the use of the BCM UMI block's internal CS using NAND.
  241. This should only be used if you know the external NAND CS can toggle.
  242. config MTD_NAND_DISKONCHIP
  243. tristate "DiskOnChip 2000, Millennium and Millennium Plus (NAND reimplementation) (EXPERIMENTAL)"
  244. depends on EXPERIMENTAL
  245. depends on HAS_IOMEM
  246. select REED_SOLOMON
  247. select REED_SOLOMON_DEC16
  248. help
  249. This is a reimplementation of M-Systems DiskOnChip 2000,
  250. Millennium and Millennium Plus as a standard NAND device driver,
  251. as opposed to the earlier self-contained MTD device drivers.
  252. This should enable, among other things, proper JFFS2 operation on
  253. these devices.
  254. config MTD_NAND_DISKONCHIP_PROBE_ADVANCED
  255. bool "Advanced detection options for DiskOnChip"
  256. depends on MTD_NAND_DISKONCHIP
  257. help
  258. This option allows you to specify nonstandard address at which to
  259. probe for a DiskOnChip, or to change the detection options. You
  260. are unlikely to need any of this unless you are using LinuxBIOS.
  261. Say 'N'.
  262. config MTD_NAND_DISKONCHIP_PROBE_ADDRESS
  263. hex "Physical address of DiskOnChip" if MTD_NAND_DISKONCHIP_PROBE_ADVANCED
  264. depends on MTD_NAND_DISKONCHIP
  265. default "0"
  266. ---help---
  267. By default, the probe for DiskOnChip devices will look for a
  268. DiskOnChip at every multiple of 0x2000 between 0xC8000 and 0xEE000.
  269. This option allows you to specify a single address at which to probe
  270. for the device, which is useful if you have other devices in that
  271. range which get upset when they are probed.
  272. (Note that on PowerPC, the normal probe will only check at
  273. 0xE4000000.)
  274. Normally, you should leave this set to zero, to allow the probe at
  275. the normal addresses.
  276. config MTD_NAND_DISKONCHIP_PROBE_HIGH
  277. bool "Probe high addresses"
  278. depends on MTD_NAND_DISKONCHIP_PROBE_ADVANCED
  279. help
  280. By default, the probe for DiskOnChip devices will look for a
  281. DiskOnChip at every multiple of 0x2000 between 0xC8000 and 0xEE000.
  282. This option changes to make it probe between 0xFFFC8000 and
  283. 0xFFFEE000. Unless you are using LinuxBIOS, this is unlikely to be
  284. useful to you. Say 'N'.
  285. config MTD_NAND_DISKONCHIP_BBTWRITE
  286. bool "Allow BBT writes on DiskOnChip Millennium and 2000TSOP"
  287. depends on MTD_NAND_DISKONCHIP
  288. help
  289. On DiskOnChip devices shipped with the INFTL filesystem (Millennium
  290. and 2000 TSOP/Alon), Linux reserves some space at the end of the
  291. device for the Bad Block Table (BBT). If you have existing INFTL
  292. data on your device (created by non-Linux tools such as M-Systems'
  293. DOS drivers), your data might overlap the area Linux wants to use for
  294. the BBT. If this is a concern for you, leave this option disabled and
  295. Linux will not write BBT data into this area.
  296. The downside of leaving this option disabled is that if bad blocks
  297. are detected by Linux, they will not be recorded in the BBT, which
  298. could cause future problems.
  299. Once you enable this option, new filesystems (INFTL or others, created
  300. in Linux or other operating systems) will not use the reserved area.
  301. The only reason not to enable this option is to prevent damage to
  302. preexisting filesystems.
  303. Even if you leave this disabled, you can enable BBT writes at module
  304. load time (assuming you build diskonchip as a module) with the module
  305. parameter "inftl_bbt_write=1".
  306. config MTD_NAND_DOCG4
  307. tristate "Support for DiskOnChip G4 (EXPERIMENTAL)"
  308. depends on EXPERIMENTAL
  309. select BCH
  310. select BITREVERSE
  311. help
  312. Support for diskonchip G4 nand flash, found in various smartphones and
  313. PDAs, among them the Palm Treo680, HTC Prophet and Wizard, Toshiba
  314. Portege G900, Asus P526, and O2 XDA Zinc.
  315. With this driver you will be able to use UBI and create a ubifs on the
  316. device, so you may wish to consider enabling UBI and UBIFS as well.
  317. These devices ship with the Mys/Sandisk SAFTL formatting, for which
  318. there is currently no mtd parser, so you may want to use command line
  319. partitioning to segregate write-protected blocks. On the Treo680, the
  320. first five erase blocks (256KiB each) are write-protected, followed
  321. by the block containing the saftl partition table. This is probably
  322. typical.
  323. config MTD_NAND_SHARPSL
  324. tristate "Support for NAND Flash on Sharp SL Series (C7xx + others)"
  325. depends on ARCH_PXA
  326. config MTD_NAND_CAFE
  327. tristate "NAND support for OLPC CAFÉ chip"
  328. depends on PCI
  329. select REED_SOLOMON
  330. select REED_SOLOMON_DEC16
  331. help
  332. Use NAND flash attached to the CAFÉ chip designed for the OLPC
  333. laptop.
  334. config MTD_NAND_CS553X
  335. tristate "NAND support for CS5535/CS5536 (AMD Geode companion chip)"
  336. depends on X86_32
  337. help
  338. The CS553x companion chips for the AMD Geode processor
  339. include NAND flash controllers with built-in hardware ECC
  340. capabilities; enabling this option will allow you to use
  341. these. The driver will check the MSRs to verify that the
  342. controller is enabled for NAND, and currently requires that
  343. the controller be in MMIO mode.
  344. If you say "m", the module will be called cs553x_nand.
  345. config MTD_NAND_ATMEL
  346. tristate "Support for NAND Flash / SmartMedia on AT91 and AVR32"
  347. depends on ARCH_AT91 || AVR32
  348. help
  349. Enables support for NAND Flash / Smart Media Card interface
  350. on Atmel AT91 and AVR32 processors.
  351. choice
  352. prompt "ECC management for NAND Flash / SmartMedia on AT91 / AVR32"
  353. depends on MTD_NAND_ATMEL
  354. config MTD_NAND_ATMEL_ECC_HW
  355. bool "Hardware ECC"
  356. depends on ARCH_AT91SAM9263 || ARCH_AT91SAM9260 || AVR32
  357. help
  358. Use hardware ECC instead of software ECC when the chip
  359. supports it.
  360. The hardware ECC controller is capable of single bit error
  361. correction and 2-bit random detection per page.
  362. NB : hardware and software ECC schemes are incompatible.
  363. If you switch from one to another, you'll have to erase your
  364. mtd partition.
  365. If unsure, say Y
  366. config MTD_NAND_ATMEL_ECC_SOFT
  367. bool "Software ECC"
  368. help
  369. Use software ECC.
  370. NB : hardware and software ECC schemes are incompatible.
  371. If you switch from one to another, you'll have to erase your
  372. mtd partition.
  373. config MTD_NAND_ATMEL_ECC_NONE
  374. bool "No ECC (testing only, DANGEROUS)"
  375. depends on DEBUG_KERNEL
  376. help
  377. No ECC will be used.
  378. It's not a good idea and it should be reserved for testing
  379. purpose only.
  380. If unsure, say N
  381. endchoice
  382. config MTD_NAND_PXA3xx
  383. tristate "Support for NAND flash devices on PXA3xx"
  384. depends on PXA3xx || ARCH_MMP
  385. help
  386. This enables the driver for the NAND flash device found on
  387. PXA3xx processors
  388. config MTD_NAND_CM_X270
  389. tristate "Support for NAND Flash on CM-X270 modules"
  390. depends on MACH_ARMCORE
  391. config MTD_NAND_PASEMI
  392. tristate "NAND support for PA Semi PWRficient"
  393. depends on PPC_PASEMI
  394. help
  395. Enables support for NAND Flash interface on PA Semi PWRficient
  396. based boards
  397. config MTD_NAND_TMIO
  398. tristate "NAND Flash device on Toshiba Mobile IO Controller"
  399. depends on MFD_TMIO
  400. help
  401. Support for NAND flash connected to a Toshiba Mobile IO
  402. Controller in some PDAs, including the Sharp SL6000x.
  403. config MTD_NAND_NANDSIM
  404. tristate "Support for NAND Flash Simulator"
  405. help
  406. The simulator may simulate various NAND flash chips for the
  407. MTD nand layer.
  408. config MTD_NAND_GPMI_NAND
  409. bool "GPMI NAND Flash Controller driver"
  410. depends on MTD_NAND && (SOC_IMX23 || SOC_IMX28 || SOC_IMX6Q)
  411. help
  412. Enables NAND Flash support for IMX23 or IMX28.
  413. The GPMI controller is very powerful, with the help of BCH
  414. module, it can do the hardware ECC. The GPMI supports several
  415. NAND flashs at the same time. The GPMI may conflicts with other
  416. block, such as SD card. So pay attention to it when you enable
  417. the GPMI.
  418. config MTD_NAND_PLATFORM
  419. tristate "Support for generic platform NAND driver"
  420. depends on HAS_IOMEM
  421. help
  422. This implements a generic NAND driver for on-SOC platform
  423. devices. You will need to provide platform-specific functions
  424. via platform_data.
  425. config MTD_ALAUDA
  426. tristate "MTD driver for Olympus MAUSB-10 and Fujifilm DPC-R1"
  427. depends on USB
  428. help
  429. These two (and possibly other) Alauda-based cardreaders for
  430. SmartMedia and xD allow raw flash access.
  431. config MTD_NAND_ORION
  432. tristate "NAND Flash support for Marvell Orion SoC"
  433. depends on PLAT_ORION
  434. help
  435. This enables the NAND flash controller on Orion machines.
  436. No board specific support is done by this driver, each board
  437. must advertise a platform_device for the driver to attach.
  438. config MTD_NAND_FSL_ELBC
  439. tristate "NAND support for Freescale eLBC controllers"
  440. depends on PPC_OF
  441. select FSL_LBC
  442. help
  443. Various Freescale chips, including the 8313, include a NAND Flash
  444. Controller Module with built-in hardware ECC capabilities.
  445. Enabling this option will enable you to use this to control
  446. external NAND devices.
  447. config MTD_NAND_FSL_IFC
  448. tristate "NAND support for Freescale IFC controller"
  449. depends on MTD_NAND && FSL_SOC
  450. select FSL_IFC
  451. help
  452. Various Freescale chips e.g P1010, include a NAND Flash machine
  453. with built-in hardware ECC capabilities.
  454. Enabling this option will enable you to use this to control
  455. external NAND devices.
  456. config MTD_NAND_FSL_UPM
  457. tristate "Support for NAND on Freescale UPM"
  458. depends on PPC_83xx || PPC_85xx
  459. select FSL_LBC
  460. help
  461. Enables support for NAND Flash chips wired onto Freescale PowerPC
  462. processor localbus with User-Programmable Machine support.
  463. config MTD_NAND_MPC5121_NFC
  464. tristate "MPC5121 built-in NAND Flash Controller support"
  465. depends on PPC_MPC512x
  466. help
  467. This enables the driver for the NAND flash controller on the
  468. MPC5121 SoC.
  469. config MTD_NAND_MXC
  470. tristate "MXC NAND support"
  471. depends on IMX_HAVE_PLATFORM_MXC_NAND
  472. help
  473. This enables the driver for the NAND flash controller on the
  474. MXC processors.
  475. config MTD_NAND_NOMADIK
  476. tristate "ST Nomadik 8815 NAND support"
  477. depends on ARCH_NOMADIK
  478. help
  479. Driver for the NAND flash controller on the Nomadik, with ECC.
  480. config MTD_NAND_SH_FLCTL
  481. tristate "Support for NAND on Renesas SuperH FLCTL"
  482. depends on SUPERH || ARCH_SHMOBILE
  483. help
  484. Several Renesas SuperH CPU has FLCTL. This option enables support
  485. for NAND Flash using FLCTL.
  486. config MTD_NAND_DAVINCI
  487. tristate "Support NAND on DaVinci SoC"
  488. depends on ARCH_DAVINCI
  489. help
  490. Enable the driver for NAND flash chips on Texas Instruments
  491. DaVinci processors.
  492. config MTD_NAND_TXX9NDFMC
  493. tristate "NAND Flash support for TXx9 SoC"
  494. depends on SOC_TX4938 || SOC_TX4939
  495. help
  496. This enables the NAND flash controller on the TXx9 SoCs.
  497. config MTD_NAND_SOCRATES
  498. tristate "Support for NAND on Socrates board"
  499. depends on SOCRATES
  500. help
  501. Enables support for NAND Flash chips wired onto Socrates board.
  502. config MTD_NAND_NUC900
  503. tristate "Support for NAND on Nuvoton NUC9xx/w90p910 evaluation boards."
  504. depends on ARCH_W90X900
  505. help
  506. This enables the driver for the NAND Flash on evaluation board based
  507. on w90p910 / NUC9xx.
  508. config MTD_NAND_JZ4740
  509. tristate "Support for JZ4740 SoC NAND controller"
  510. depends on MACH_JZ4740
  511. help
  512. Enables support for NAND Flash on JZ4740 SoC based boards.
  513. config MTD_NAND_FSMC
  514. tristate "Support for NAND on ST Micros FSMC"
  515. depends on PLAT_SPEAR || PLAT_NOMADIK || MACH_U300
  516. help
  517. Enables support for NAND Flash chips on the ST Microelectronics
  518. Flexible Static Memory Controller (FSMC)
  519. endif # MTD_NAND