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