diff options
Diffstat (limited to 'drivers/mtd/nand/Kconfig')
-rw-r--r-- | drivers/mtd/nand/Kconfig | 69 |
1 files changed, 53 insertions, 16 deletions
diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig index 42e5ea49e975..98a04b3c9526 100644 --- a/drivers/mtd/nand/Kconfig +++ b/drivers/mtd/nand/Kconfig | |||
@@ -2,11 +2,23 @@ menuconfig MTD_NAND | |||
2 | tristate "NAND Device Support" | 2 | tristate "NAND Device Support" |
3 | depends on MTD | 3 | depends on MTD |
4 | select MTD_NAND_IDS | 4 | select MTD_NAND_IDS |
5 | select MTD_NAND_ECC | ||
5 | help | 6 | help |
6 | This enables support for accessing all type of NAND flash | 7 | This enables support for accessing all type of NAND flash |
7 | devices. For further information see | 8 | devices. For further information see |
8 | <http://www.linux-mtd.infradead.org/doc/nand.html>. | 9 | <http://www.linux-mtd.infradead.org/doc/nand.html>. |
9 | 10 | ||
11 | config MTD_NAND_ECC | ||
12 | tristate | ||
13 | |||
14 | config MTD_NAND_ECC_SMC | ||
15 | bool "NAND ECC Smart Media byte order" | ||
16 | depends on MTD_NAND_ECC | ||
17 | default n | ||
18 | help | ||
19 | Software ECC according to the Smart Media Specification. | ||
20 | The original Linux implementation had byte 0 and 1 swapped. | ||
21 | |||
10 | if MTD_NAND | 22 | if MTD_NAND |
11 | 23 | ||
12 | config MTD_NAND_VERIFY_WRITE | 24 | config MTD_NAND_VERIFY_WRITE |
@@ -18,12 +30,9 @@ config MTD_NAND_VERIFY_WRITE | |||
18 | device thinks the write was successful, a bit could have been | 30 | device thinks the write was successful, a bit could have been |
19 | flipped accidentally due to device wear or something else. | 31 | flipped accidentally due to device wear or something else. |
20 | 32 | ||
21 | config MTD_NAND_ECC_SMC | 33 | config MTD_SM_COMMON |
22 | bool "NAND ECC Smart Media byte order" | 34 | tristate |
23 | default n | 35 | default n |
24 | help | ||
25 | Software ECC according to the Smart Media Specification. | ||
26 | The original Linux implementation had byte 0 and 1 swapped. | ||
27 | 36 | ||
28 | config MTD_NAND_MUSEUM_IDS | 37 | config MTD_NAND_MUSEUM_IDS |
29 | bool "Enable chip ids for obsolete ancient NAND devices" | 38 | bool "Enable chip ids for obsolete ancient NAND devices" |
@@ -41,6 +50,23 @@ config MTD_NAND_AUTCPU12 | |||
41 | This enables the driver for the autronix autcpu12 board to | 50 | This enables the driver for the autronix autcpu12 board to |
42 | access the SmartMediaCard. | 51 | access the SmartMediaCard. |
43 | 52 | ||
53 | config MTD_NAND_DENALI | ||
54 | depends on PCI | ||
55 | tristate "Support Denali NAND controller on Intel Moorestown" | ||
56 | help | ||
57 | Enable the driver for NAND flash on Intel Moorestown, using the | ||
58 | Denali NAND controller core. | ||
59 | |||
60 | config MTD_NAND_DENALI_SCRATCH_REG_ADDR | ||
61 | hex "Denali NAND size scratch register address" | ||
62 | default "0xFF108018" | ||
63 | help | ||
64 | Some platforms place the NAND chip size in a scratch register | ||
65 | because (some versions of) the driver aren't able to automatically | ||
66 | determine the size of certain chips. Set the address of the | ||
67 | scratch register here to enable this feature. On Intel Moorestown | ||
68 | boards, the scratch register is at 0xFF108018. | ||
69 | |||
44 | config MTD_NAND_EDB7312 | 70 | config MTD_NAND_EDB7312 |
45 | tristate "Support for Cirrus Logic EBD7312 evaluation board" | 71 | tristate "Support for Cirrus Logic EBD7312 evaluation board" |
46 | depends on ARCH_EDB7312 | 72 | depends on ARCH_EDB7312 |
@@ -95,15 +121,21 @@ config MTD_NAND_OMAP_PREFETCH_DMA | |||
95 | or in DMA interrupt mode. | 121 | or in DMA interrupt mode. |
96 | Say y for DMA mode or MPU mode will be used | 122 | Say y for DMA mode or MPU mode will be used |
97 | 123 | ||
98 | config MTD_NAND_TS7250 | ||
99 | tristate "NAND Flash device on TS-7250 board" | ||
100 | depends on MACH_TS72XX | ||
101 | help | ||
102 | Support for NAND flash on Technologic Systems TS-7250 platform. | ||
103 | |||
104 | config MTD_NAND_IDS | 124 | config MTD_NAND_IDS |
105 | tristate | 125 | tristate |
106 | 126 | ||
127 | config MTD_NAND_RICOH | ||
128 | tristate "Ricoh xD card reader" | ||
129 | default n | ||
130 | depends on PCI | ||
131 | select MTD_SM_COMMON | ||
132 | help | ||
133 | Enable support for Ricoh R5C852 xD card reader | ||
134 | You also need to enable ether | ||
135 | NAND SSFDC (SmartMedia) read only translation layer' or new | ||
136 | expermental, readwrite | ||
137 | 'SmartMedia/xD new translation layer' | ||
138 | |||
107 | config MTD_NAND_AU1550 | 139 | config MTD_NAND_AU1550 |
108 | tristate "Au1550/1200 NAND support" | 140 | tristate "Au1550/1200 NAND support" |
109 | depends on SOC_AU1200 || SOC_AU1550 | 141 | depends on SOC_AU1200 || SOC_AU1550 |
@@ -358,8 +390,6 @@ config MTD_NAND_ATMEL_ECC_NONE | |||
358 | 390 | ||
359 | If unsure, say N | 391 | If unsure, say N |
360 | 392 | ||
361 | endchoice | ||
362 | |||
363 | endchoice | 393 | endchoice |
364 | 394 | ||
365 | config MTD_NAND_PXA3xx | 395 | config MTD_NAND_PXA3xx |
@@ -442,6 +472,13 @@ config MTD_NAND_FSL_UPM | |||
442 | Enables support for NAND Flash chips wired onto Freescale PowerPC | 472 | Enables support for NAND Flash chips wired onto Freescale PowerPC |
443 | processor localbus with User-Programmable Machine support. | 473 | processor localbus with User-Programmable Machine support. |
444 | 474 | ||
475 | config MTD_NAND_MPC5121_NFC | ||
476 | tristate "MPC5121 built-in NAND Flash Controller support" | ||
477 | depends on PPC_MPC512x | ||
478 | help | ||
479 | This enables the driver for the NAND flash controller on the | ||
480 | MPC5121 SoC. | ||
481 | |||
445 | config MTD_NAND_MXC | 482 | config MTD_NAND_MXC |
446 | tristate "MXC NAND support" | 483 | tristate "MXC NAND support" |
447 | depends on ARCH_MX2 || ARCH_MX25 || ARCH_MX3 | 484 | depends on ARCH_MX2 || ARCH_MX25 || ARCH_MX3 |
@@ -481,11 +518,11 @@ config MTD_NAND_SOCRATES | |||
481 | help | 518 | help |
482 | Enables support for NAND Flash chips wired onto Socrates board. | 519 | Enables support for NAND Flash chips wired onto Socrates board. |
483 | 520 | ||
484 | config MTD_NAND_W90P910 | 521 | config MTD_NAND_NUC900 |
485 | tristate "Support for NAND on w90p910 evaluation board." | 522 | tristate "Support for NAND on Nuvoton NUC9xx/w90p910 evaluation boards." |
486 | depends on ARCH_W90X900 && MTD_PARTITIONS | 523 | depends on ARCH_W90X900 && MTD_PARTITIONS |
487 | help | 524 | help |
488 | This enables the driver for the NAND Flash on evaluation board based | 525 | This enables the driver for the NAND Flash on evaluation board based |
489 | on w90p910. | 526 | on w90p910 / NUC9xx. |
490 | 527 | ||
491 | endif # MTD_NAND | 528 | endif # MTD_NAND |