4 config MTD_NAND_ECC_SMC
5 bool "NAND ECC Smart Media byte order"
6 depends on MTD_NAND_ECC
9 Software ECC according to the Smart Media Specification.
10 The original Linux implementation had byte 0 and 1 swapped.
14 tristate "NAND Device Support"
19 This enables support for accessing all type of NAND flash
20 devices. For further information see
21 <http://www.linux-mtd.infradead.org/doc/nand.html>.
25 config MTD_NAND_VERIFY_WRITE
26 bool "Verify NAND page writes"
28 This adds an extra check when data is written to the flash. The
29 NAND flash device internally checks only bits transitioning
30 from 1 to 0. There is a rare possibility that even though the
31 device thinks the write was successful, a bit could have been
32 flipped accidentally due to device wear or something else.
38 config MTD_NAND_MUSEUM_IDS
39 bool "Enable chip ids for obsolete ancient NAND devices"
42 Enable this option only when your board has first generation
43 NAND chips (page size 256 byte, erase size 4-8KiB). The IDs
44 of these chips were reused by later, larger chips.
46 config MTD_NAND_AUTCPU12
47 tristate "SmartMediaCard on autronix autcpu12 board"
48 depends on ARCH_AUTCPU12
50 This enables the driver for the autronix autcpu12 board to
51 access the SmartMediaCard.
53 config MTD_NAND_DENALI
55 tristate "Support Denali NAND controller on Intel Moorestown"
57 Enable the driver for NAND flash on Intel Moorestown, using the
58 Denali NAND controller core.
60 config MTD_NAND_DENALI_SCRATCH_REG_ADDR
61 hex "Denali NAND size scratch register address"
63 depends on MTD_NAND_DENALI
65 Some platforms place the NAND chip size in a scratch register
66 because (some versions of) the driver aren't able to automatically
67 determine the size of certain chips. Set the address of the
68 scratch register here to enable this feature. On Intel Moorestown
69 boards, the scratch register is at 0xFF108018.
71 config MTD_NAND_EDB7312
72 tristate "Support for Cirrus Logic EBD7312 evaluation board"
73 depends on ARCH_EDB7312
75 This enables the driver for the Cirrus Logic EBD7312 evaluation
76 board to access the onboard NAND Flash.
79 tristate "iPAQ H1900 flash"
80 depends on ARCH_PXA && MTD_PARTITIONS
82 This enables the driver for the iPAQ h1900 flash.
85 tristate "GPIO NAND Flash driver"
86 depends on GENERIC_GPIO && ARM
88 This enables a GPIO based NAND flash driver.
91 tristate "NAND Flash device on SPIA board"
94 If you had to ask, you don't have one. Say 'N'.
96 config MTD_NAND_AMS_DELTA
97 tristate "NAND Flash device on Amstrad E3"
98 depends on MACH_AMS_DELTA
101 Support for NAND flash on Amstrad E3 (Delta).
103 config MTD_NAND_OMAP2
104 tristate "NAND Flash device on OMAP2 and OMAP3"
105 depends on ARM && (ARCH_OMAP2 || ARCH_OMAP3)
107 Support for NAND flash on Texas Instruments OMAP2 and OMAP3 platforms.
109 config MTD_NAND_OMAP_PREFETCH
110 bool "GPMC prefetch support for NAND Flash device"
111 depends on MTD_NAND_OMAP2
114 The NAND device can be accessed for Read/Write using GPMC PREFETCH engine
115 to improve the performance.
117 config MTD_NAND_OMAP_PREFETCH_DMA
118 depends on MTD_NAND_OMAP_PREFETCH
122 The GPMC PREFETCH engine can be configured eigther in MPU interrupt mode
123 or in DMA interrupt mode.
124 Say y for DMA mode or MPU mode will be used
129 config MTD_NAND_RICOH
130 tristate "Ricoh xD card reader"
135 Enable support for Ricoh R5C852 xD card reader
136 You also need to enable ether
137 NAND SSFDC (SmartMedia) read only translation layer' or new
138 expermental, readwrite
139 'SmartMedia/xD new translation layer'
141 config MTD_NAND_AU1550
142 tristate "Au1550/1200 NAND support"
143 depends on SOC_AU1200 || SOC_AU1550
145 This enables the driver for the NAND flash controller on the
146 AMD/Alchemy 1550 SOC.
148 config MTD_NAND_BF5XX
149 tristate "Blackfin on-chip NAND Flash Controller driver"
150 depends on BF54x || BF52x
152 This enables the Blackfin on-chip NAND flash controller
154 No board specific support is done by this driver, each board
155 must advertise a platform_device for the driver to attach.
157 This driver can also be built as a module. If so, the module
158 will be called bf5xx-nand.
160 config MTD_NAND_BF5XX_HWECC
161 bool "BF5XX NAND Hardware ECC"
163 depends on MTD_NAND_BF5XX
165 Enable the use of the BF5XX's internal ECC generator when
168 config MTD_NAND_BF5XX_BOOTROM_ECC
169 bool "Use Blackfin BootROM ECC Layout"
171 depends on MTD_NAND_BF5XX_HWECC
173 If you wish to modify NAND pages and allow the Blackfin on-chip
174 BootROM to boot from them, say Y here. This is only necessary
175 if you are booting U-Boot out of NAND and you wish to update
176 U-Boot from Linux' userspace. Otherwise, you should say N here.
180 config MTD_NAND_RTC_FROM4
181 tristate "Renesas Flash ROM 4-slot interface board (FROM_BOARD4)"
182 depends on SH_SOLUTION_ENGINE
184 select REED_SOLOMON_DEC8
187 This enables the driver for the Renesas Technology AG-AND
188 flash interface board (FROM_BOARD4)
190 config MTD_NAND_PPCHAMELEONEVB
191 tristate "NAND Flash device on PPChameleonEVB board"
192 depends on PPCHAMELEONEVB && BROKEN
194 This enables the NAND flash driver on the PPChameleon EVB Board.
196 config MTD_NAND_S3C2410
197 tristate "NAND Flash support for Samsung S3C SoCs"
198 depends on ARCH_S3C2410 || ARCH_S3C64XX
200 This enables the NAND flash controller on the S3C24xx and S3C64xx
203 No board specific support is done by this driver, each board
204 must advertise a platform_device for the driver to attach.
206 config MTD_NAND_S3C2410_DEBUG
207 bool "Samsung S3C NAND driver debug"
208 depends on MTD_NAND_S3C2410
210 Enable debugging of the S3C NAND driver
212 config MTD_NAND_S3C2410_HWECC
213 bool "Samsung S3C NAND Hardware ECC"
214 depends on MTD_NAND_S3C2410
216 Enable the use of the controller's internal ECC generator when
217 using NAND. Early versions of the chips have had problems with
218 incorrect ECC generation, and if using these, the default of
219 software ECC is preferable.
222 tristate "NDFC NanD Flash Controller"
224 select MTD_NAND_ECC_SMC
226 NDFC Nand Flash Controllers are integrated in IBM/AMCC's 4xx SoCs
228 config MTD_NAND_S3C2410_CLKSTOP
229 bool "Samsung S3C NAND IDLE clock stop"
230 depends on MTD_NAND_S3C2410
233 Stop the clock to the NAND controller when there is no chip
234 selected to save power. This will mean there is a small delay
235 when the is NAND chip selected or released, but will save
236 approximately 5mA of power when there is nothing happening.
238 config MTD_NAND_BCM_UMI
239 tristate "NAND Flash support for BCM Reference Boards"
240 depends on ARCH_BCMRING
242 This enables the NAND flash controller on the BCM UMI block.
244 No board specfic support is done by this driver, each board
245 must advertise a platform_device for the driver to attach.
247 config MTD_NAND_BCM_UMI_HWCS
248 bool "BCM UMI NAND Hardware CS"
249 depends on MTD_NAND_BCM_UMI
251 Enable the use of the BCM UMI block's internal CS using NAND.
252 This should only be used if you know the external NAND CS can toggle.
254 config MTD_NAND_DISKONCHIP
255 tristate "DiskOnChip 2000, Millennium and Millennium Plus (NAND reimplementation) (EXPERIMENTAL)"
256 depends on EXPERIMENTAL
258 select REED_SOLOMON_DEC16
260 This is a reimplementation of M-Systems DiskOnChip 2000,
261 Millennium and Millennium Plus as a standard NAND device driver,
262 as opposed to the earlier self-contained MTD device drivers.
263 This should enable, among other things, proper JFFS2 operation on
266 config MTD_NAND_DISKONCHIP_PROBE_ADVANCED
267 bool "Advanced detection options for DiskOnChip"
268 depends on MTD_NAND_DISKONCHIP
270 This option allows you to specify nonstandard address at which to
271 probe for a DiskOnChip, or to change the detection options. You
272 are unlikely to need any of this unless you are using LinuxBIOS.
275 config MTD_NAND_DISKONCHIP_PROBE_ADDRESS
276 hex "Physical address of DiskOnChip" if MTD_NAND_DISKONCHIP_PROBE_ADVANCED
277 depends on MTD_NAND_DISKONCHIP
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 allows you to specify a single address at which to probe
283 for the device, which is useful if you have other devices in that
284 range which get upset when they are probed.
286 (Note that on PowerPC, the normal probe will only check at
289 Normally, you should leave this set to zero, to allow the probe at
290 the normal addresses.
292 config MTD_NAND_DISKONCHIP_PROBE_HIGH
293 bool "Probe high addresses"
294 depends on MTD_NAND_DISKONCHIP_PROBE_ADVANCED
296 By default, the probe for DiskOnChip devices will look for a
297 DiskOnChip at every multiple of 0x2000 between 0xC8000 and 0xEE000.
298 This option changes to make it probe between 0xFFFC8000 and
299 0xFFFEE000. Unless you are using LinuxBIOS, this is unlikely to be
300 useful to you. Say 'N'.
302 config MTD_NAND_DISKONCHIP_BBTWRITE
303 bool "Allow BBT writes on DiskOnChip Millennium and 2000TSOP"
304 depends on MTD_NAND_DISKONCHIP
306 On DiskOnChip devices shipped with the INFTL filesystem (Millennium
307 and 2000 TSOP/Alon), Linux reserves some space at the end of the
308 device for the Bad Block Table (BBT). If you have existing INFTL
309 data on your device (created by non-Linux tools such as M-Systems'
310 DOS drivers), your data might overlap the area Linux wants to use for
311 the BBT. If this is a concern for you, leave this option disabled and
312 Linux will not write BBT data into this area.
313 The downside of leaving this option disabled is that if bad blocks
314 are detected by Linux, they will not be recorded in the BBT, which
315 could cause future problems.
316 Once you enable this option, new filesystems (INFTL or others, created
317 in Linux or other operating systems) will not use the reserved area.
318 The only reason not to enable this option is to prevent damage to
319 preexisting filesystems.
320 Even if you leave this disabled, you can enable BBT writes at module
321 load time (assuming you build diskonchip as a module) with the module
322 parameter "inftl_bbt_write=1".
324 config MTD_NAND_SHARPSL
325 tristate "Support for NAND Flash on Sharp SL Series (C7xx + others)"
329 tristate "NAND support for OLPC CAFÉ chip"
332 select REED_SOLOMON_DEC16
334 Use NAND flash attached to the CAFÉ chip designed for the OLPC
337 config MTD_NAND_CS553X
338 tristate "NAND support for CS5535/CS5536 (AMD Geode companion chip)"
341 The CS553x companion chips for the AMD Geode processor
342 include NAND flash controllers with built-in hardware ECC
343 capabilities; enabling this option will allow you to use
344 these. The driver will check the MSRs to verify that the
345 controller is enabled for NAND, and currently requires that
346 the controller be in MMIO mode.
348 If you say "m", the module will be called cs553x_nand.
350 config MTD_NAND_ATMEL
351 tristate "Support for NAND Flash / SmartMedia on AT91 and AVR32"
352 depends on ARCH_AT91 || AVR32
354 Enables support for NAND Flash / Smart Media Card interface
355 on Atmel AT91 and AVR32 processors.
357 prompt "ECC management for NAND Flash / SmartMedia on AT91 / AVR32"
358 depends on MTD_NAND_ATMEL
360 config MTD_NAND_ATMEL_ECC_HW
362 depends on ARCH_AT91SAM9263 || ARCH_AT91SAM9260 || AVR32
364 Use hardware ECC instead of software ECC when the chip
367 The hardware ECC controller is capable of single bit error
368 correction and 2-bit random detection per page.
370 NB : hardware and software ECC schemes are incompatible.
371 If you switch from one to another, you'll have to erase your
376 config MTD_NAND_ATMEL_ECC_SOFT
381 NB : hardware and software ECC schemes are incompatible.
382 If you switch from one to another, you'll have to erase your
385 config MTD_NAND_ATMEL_ECC_NONE
386 bool "No ECC (testing only, DANGEROUS)"
387 depends on DEBUG_KERNEL
390 It's not a good idea and it should be reserved for testing
397 config MTD_NAND_PXA3xx
398 tristate "Support for NAND flash devices on PXA3xx"
399 depends on PXA3xx || ARCH_MMP
401 This enables the driver for the NAND flash device found on
404 config MTD_NAND_CM_X270
405 tristate "Support for NAND Flash on CM-X270 modules"
406 depends on MACH_ARMCORE
408 config MTD_NAND_PASEMI
409 tristate "NAND support for PA Semi PWRficient"
410 depends on PPC_PASEMI
412 Enables support for NAND Flash interface on PA Semi PWRficient
416 tristate "NAND Flash device on Toshiba Mobile IO Controller"
419 Support for NAND flash connected to a Toshiba Mobile IO
420 Controller in some PDAs, including the Sharp SL6000x.
422 config MTD_NAND_NANDSIM
423 tristate "Support for NAND Flash Simulator"
424 depends on MTD_PARTITIONS
426 The simulator may simulate various NAND flash chips for the
429 config MTD_NAND_PLATFORM
430 tristate "Support for generic platform NAND driver"
432 This implements a generic NAND driver for on-SOC platform
433 devices. You will need to provide platform-specific functions
437 tristate "MTD driver for Olympus MAUSB-10 and Fujifilm DPC-R1"
440 These two (and possibly other) Alauda-based cardreaders for
441 SmartMedia and xD allow raw flash access.
443 config MTD_NAND_ORION
444 tristate "NAND Flash support for Marvell Orion SoC"
445 depends on PLAT_ORION
447 This enables the NAND flash controller on Orion machines.
449 No board specific support is done by this driver, each board
450 must advertise a platform_device for the driver to attach.
452 config MTD_NAND_FSL_ELBC
453 tristate "NAND support for Freescale eLBC controllers"
457 Various Freescale chips, including the 8313, include a NAND Flash
458 Controller Module with built-in hardware ECC capabilities.
459 Enabling this option will enable you to use this to control
460 external NAND devices.
462 config MTD_NAND_FSL_UPM
463 tristate "Support for NAND on Freescale UPM"
464 depends on PPC_83xx || PPC_85xx
467 Enables support for NAND Flash chips wired onto Freescale PowerPC
468 processor localbus with User-Programmable Machine support.
470 config MTD_NAND_MPC5121_NFC
471 tristate "MPC5121 built-in NAND Flash Controller support"
472 depends on PPC_MPC512x
474 This enables the driver for the NAND flash controller on the
478 tristate "MXC NAND support"
479 depends on ARCH_MX2 || ARCH_MX25 || ARCH_MX3 || ARCH_MX51
481 This enables the driver for the NAND flash controller on the
484 config MTD_NAND_NOMADIK
485 tristate "ST Nomadik 8815 NAND support"
486 depends on ARCH_NOMADIK
488 Driver for the NAND flash controller on the Nomadik, with ECC.
490 config MTD_NAND_SH_FLCTL
491 tristate "Support for NAND on Renesas SuperH FLCTL"
492 depends on SUPERH || ARCH_SHMOBILE
494 Several Renesas SuperH CPU has FLCTL. This option enables support
495 for NAND Flash using FLCTL.
497 config MTD_NAND_DAVINCI
498 tristate "Support NAND on DaVinci SoC"
499 depends on ARCH_DAVINCI
501 Enable the driver for NAND flash chips on Texas Instruments
504 config MTD_NAND_TXX9NDFMC
505 tristate "NAND Flash support for TXx9 SoC"
506 depends on SOC_TX4938 || SOC_TX4939
508 This enables the NAND flash controller on the TXx9 SoCs.
510 config MTD_NAND_SOCRATES
511 tristate "Support for NAND on Socrates board"
514 Enables support for NAND Flash chips wired onto Socrates board.
516 config MTD_NAND_NUC900
517 tristate "Support for NAND on Nuvoton NUC9xx/w90p910 evaluation boards."
518 depends on ARCH_W90X900 && MTD_PARTITIONS
520 This enables the driver for the NAND Flash on evaluation board based
523 config MTD_NAND_JZ4740
524 tristate "Support for JZ4740 SoC NAND controller"
525 depends on MACH_JZ4740
527 Enables support for NAND Flash on JZ4740 SoC based boards.
530 tristate "Support for NAND on ST Micros FSMC"
531 depends on PLAT_SPEAR || PLAT_NOMADIK || MACH_U300
533 Enables support for NAND Flash chips on the ST Microelectronics
534 Flexible Static Memory Controller (FSMC)