Commit e787be1f authored by Miquel Raynal's avatar Miquel Raynal

mtd: rawnand: Change Kconfig titles and re-order a bit the list

This list is a mess, while some items should probably not be in the
raw/ sub-directory, others are definitely at the right place but not
with the right description. Write uniform titles and group IPs by
vendor.

NAND controllers will appear under the list named "Raw/parallel NAND
flash controllers" while the other drivers will appear under
"Misc". Software ECC engines will later be moved out of the raw/
directory.
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
parent 9bb94643
...@@ -31,15 +31,13 @@ config MTD_NAND_ECC_SW_BCH ...@@ -31,15 +31,13 @@ config MTD_NAND_ECC_SW_BCH
ECC codes. They are used with NAND devices requiring more than 1 bit ECC codes. They are used with NAND devices requiring more than 1 bit
of error correction. of error correction.
config MTD_SM_COMMON comment "Raw/parallel NAND flash controllers"
tristate
default n
config MTD_NAND_DENALI config MTD_NAND_DENALI
tristate tristate
config MTD_NAND_DENALI_PCI config MTD_NAND_DENALI_PCI
tristate "Support Denali NAND controller on Intel Moorestown" tristate "Denali NAND controller on Intel Moorestown"
select MTD_NAND_DENALI select MTD_NAND_DENALI
depends on PCI depends on PCI
help help
...@@ -47,31 +45,22 @@ config MTD_NAND_DENALI_PCI ...@@ -47,31 +45,22 @@ config MTD_NAND_DENALI_PCI
Denali NAND controller core. Denali NAND controller core.
config MTD_NAND_DENALI_DT config MTD_NAND_DENALI_DT
tristate "Support Denali NAND controller as a DT device" tristate "Denali NAND controller as a DT device"
select MTD_NAND_DENALI select MTD_NAND_DENALI
depends on HAS_DMA && HAVE_CLK && OF depends on HAS_DMA && HAVE_CLK && OF
help help
Enable the driver for NAND flash on platforms using a Denali NAND Enable the driver for NAND flash on platforms using a Denali NAND
controller as a DT device. controller as a DT device.
config MTD_NAND_GPIO
tristate "GPIO assisted NAND Flash driver"
depends on GPIOLIB || COMPILE_TEST
depends on HAS_IOMEM
help
This enables a NAND flash driver where control signals are
connected to GPIO pins, and commands and data are communicated
via a memory mapped interface.
config MTD_NAND_AMS_DELTA config MTD_NAND_AMS_DELTA
tristate "NAND Flash device on Amstrad E3" tristate "Amstrad E3 NAND controller"
depends on MACH_AMS_DELTA || COMPILE_TEST depends on MACH_AMS_DELTA || COMPILE_TEST
default y default y
help help
Support for NAND flash on Amstrad E3 (Delta). Support for NAND flash on Amstrad E3 (Delta).
config MTD_NAND_OMAP2 config MTD_NAND_OMAP2
tristate "NAND Flash device on OMAP2, OMAP3, OMAP4 and Keystone" tristate "OMAP2, OMAP3, OMAP4 and Keystone NAND controller"
depends on ARCH_OMAP2PLUS || ARCH_KEYSTONE || COMPILE_TEST depends on ARCH_OMAP2PLUS || ARCH_KEYSTONE || COMPILE_TEST
depends on HAS_IOMEM depends on HAS_IOMEM
help help
...@@ -93,18 +82,6 @@ config MTD_NAND_OMAP_BCH ...@@ -93,18 +82,6 @@ config MTD_NAND_OMAP_BCH
config MTD_NAND_OMAP_BCH_BUILD config MTD_NAND_OMAP_BCH_BUILD
def_tristate MTD_NAND_OMAP2 && MTD_NAND_OMAP_BCH def_tristate MTD_NAND_OMAP2 && MTD_NAND_OMAP_BCH
config MTD_NAND_RICOH
tristate "Ricoh xD card reader"
default n
depends on PCI
select MTD_SM_COMMON
help
Enable support for Ricoh R5C852 xD card reader
You also need to enable ether
NAND SSFDC (SmartMedia) read only translation layer' or new
expermental, readwrite
'SmartMedia/xD new translation layer'
config MTD_NAND_AU1550 config MTD_NAND_AU1550
tristate "Au1550/1200 NAND support" tristate "Au1550/1200 NAND support"
depends on MIPS_ALCHEMY depends on MIPS_ALCHEMY
...@@ -112,8 +89,15 @@ config MTD_NAND_AU1550 ...@@ -112,8 +89,15 @@ config MTD_NAND_AU1550
This enables the driver for the NAND flash controller on the This enables the driver for the NAND flash controller on the
AMD/Alchemy 1550 SOC. AMD/Alchemy 1550 SOC.
config MTD_NAND_NDFC
tristate "IBM/MCC 4xx NAND controller"
depends on 4xx
select MTD_NAND_ECC_SW_HAMMING_SMC
help
NDFC Nand Flash Controllers are integrated in IBM/AMCC's 4xx SoCs
config MTD_NAND_S3C2410 config MTD_NAND_S3C2410
tristate "NAND Flash support for Samsung S3C SoCs" tristate "Samsung S3C NAND controller"
depends on ARCH_S3C24XX || ARCH_S3C64XX depends on ARCH_S3C24XX || ARCH_S3C64XX
help help
This enables the NAND flash controller on the S3C24xx and S3C64xx This enables the NAND flash controller on the S3C24xx and S3C64xx
...@@ -123,18 +107,11 @@ config MTD_NAND_S3C2410 ...@@ -123,18 +107,11 @@ config MTD_NAND_S3C2410
must advertise a platform_device for the driver to attach. must advertise a platform_device for the driver to attach.
config MTD_NAND_S3C2410_DEBUG config MTD_NAND_S3C2410_DEBUG
bool "Samsung S3C NAND driver debug" bool "Samsung S3C NAND controller debug"
depends on MTD_NAND_S3C2410 depends on MTD_NAND_S3C2410
help help
Enable debugging of the S3C NAND driver Enable debugging of the S3C NAND driver
config MTD_NAND_NDFC
tristate "NDFC NanD Flash Controller"
depends on 4xx
select MTD_NAND_ECC_SW_HAMMING_SMC
help
NDFC Nand Flash Controllers are integrated in IBM/AMCC's 4xx SoCs
config MTD_NAND_S3C2410_CLKSTOP config MTD_NAND_S3C2410_CLKSTOP
bool "Samsung S3C NAND IDLE clock stop" bool "Samsung S3C NAND IDLE clock stop"
depends on MTD_NAND_S3C2410 depends on MTD_NAND_S3C2410
...@@ -146,89 +123,19 @@ config MTD_NAND_S3C2410_CLKSTOP ...@@ -146,89 +123,19 @@ config MTD_NAND_S3C2410_CLKSTOP
approximately 5mA of power when there is nothing happening. approximately 5mA of power when there is nothing happening.
config MTD_NAND_TANGO config MTD_NAND_TANGO
tristate "NAND Flash support for Tango chips" tristate "Tango NAND controller"
depends on ARCH_TANGO || COMPILE_TEST depends on ARCH_TANGO || COMPILE_TEST
depends on HAS_IOMEM depends on HAS_IOMEM
help help
Enables the NAND Flash controller on Tango chips. Enables the NAND Flash controller on Tango chips.
config MTD_NAND_DISKONCHIP
tristate "DiskOnChip 2000, Millennium and Millennium Plus (NAND reimplementation)"
depends on HAS_IOMEM
select REED_SOLOMON
select REED_SOLOMON_DEC16
help
This is a reimplementation of M-Systems DiskOnChip 2000,
Millennium and Millennium Plus as a standard NAND device driver,
as opposed to the earlier self-contained MTD device drivers.
This should enable, among other things, proper JFFS2 operation on
these devices.
config MTD_NAND_DISKONCHIP_PROBE_ADVANCED
bool "Advanced detection options for DiskOnChip"
depends on MTD_NAND_DISKONCHIP
help
This option allows you to specify nonstandard address at which to
probe for a DiskOnChip, or to change the detection options. You
are unlikely to need any of this unless you are using LinuxBIOS.
Say 'N'.
config MTD_NAND_DISKONCHIP_PROBE_ADDRESS
hex "Physical address of DiskOnChip" if MTD_NAND_DISKONCHIP_PROBE_ADVANCED
depends on MTD_NAND_DISKONCHIP
default "0"
help
By default, the probe for DiskOnChip devices will look for a
DiskOnChip at every multiple of 0x2000 between 0xC8000 and 0xEE000.
This option allows you to specify a single address at which to probe
for the device, which is useful if you have other devices in that
range which get upset when they are probed.
(Note that on PowerPC, the normal probe will only check at
0xE4000000.)
Normally, you should leave this set to zero, to allow the probe at
the normal addresses.
config MTD_NAND_DISKONCHIP_PROBE_HIGH
bool "Probe high addresses"
depends on MTD_NAND_DISKONCHIP_PROBE_ADVANCED
help
By default, the probe for DiskOnChip devices will look for a
DiskOnChip at every multiple of 0x2000 between 0xC8000 and 0xEE000.
This option changes to make it probe between 0xFFFC8000 and
0xFFFEE000. Unless you are using LinuxBIOS, this is unlikely to be
useful to you. Say 'N'.
config MTD_NAND_DISKONCHIP_BBTWRITE
bool "Allow BBT writes on DiskOnChip Millennium and 2000TSOP"
depends on MTD_NAND_DISKONCHIP
help
On DiskOnChip devices shipped with the INFTL filesystem (Millennium
and 2000 TSOP/Alon), Linux reserves some space at the end of the
device for the Bad Block Table (BBT). If you have existing INFTL
data on your device (created by non-Linux tools such as M-Systems'
DOS drivers), your data might overlap the area Linux wants to use for
the BBT. If this is a concern for you, leave this option disabled and
Linux will not write BBT data into this area.
The downside of leaving this option disabled is that if bad blocks
are detected by Linux, they will not be recorded in the BBT, which
could cause future problems.
Once you enable this option, new filesystems (INFTL or others, created
in Linux or other operating systems) will not use the reserved area.
The only reason not to enable this option is to prevent damage to
preexisting filesystems.
Even if you leave this disabled, you can enable BBT writes at module
load time (assuming you build diskonchip as a module) with the module
parameter "inftl_bbt_write=1".
config MTD_NAND_SHARPSL config MTD_NAND_SHARPSL
tristate "Support for NAND Flash on Sharp SL Series (C7xx + others)" tristate "Sharp SL Series (C7xx + others) NAND controller"
depends on ARCH_PXA || COMPILE_TEST depends on ARCH_PXA || COMPILE_TEST
depends on HAS_IOMEM depends on HAS_IOMEM
config MTD_NAND_CAFE config MTD_NAND_CAFE
tristate "NAND support for OLPC CAFÉ chip" tristate "OLPC CAFÉ NAND controller"
depends on PCI depends on PCI
select REED_SOLOMON select REED_SOLOMON
select REED_SOLOMON_DEC16 select REED_SOLOMON_DEC16
...@@ -237,7 +144,7 @@ config MTD_NAND_CAFE ...@@ -237,7 +144,7 @@ config MTD_NAND_CAFE
laptop. laptop.
config MTD_NAND_CS553X config MTD_NAND_CS553X
tristate "NAND support for CS5535/CS5536 (AMD Geode companion chip)" tristate "CS5535/CS5536 (AMD Geode companion) NAND controller"
depends on X86_32 depends on X86_32
depends on !UML && HAS_IOMEM depends on !UML && HAS_IOMEM
help help
...@@ -251,7 +158,7 @@ config MTD_NAND_CS553X ...@@ -251,7 +158,7 @@ config MTD_NAND_CS553X
If you say "m", the module will be called cs553x_nand. If you say "m", the module will be called cs553x_nand.
config MTD_NAND_ATMEL config MTD_NAND_ATMEL
tristate "Support for NAND Flash / SmartMedia on AT91" tristate "Atmel AT91 NAND Flash/SmartMedia NAND controller"
depends on ARCH_AT91 || COMPILE_TEST depends on ARCH_AT91 || COMPILE_TEST
depends on HAS_IOMEM depends on HAS_IOMEM
select GENERIC_ALLOCATOR select GENERIC_ALLOCATOR
...@@ -260,8 +167,17 @@ config MTD_NAND_ATMEL ...@@ -260,8 +167,17 @@ config MTD_NAND_ATMEL
Enables support for NAND Flash / Smart Media Card interface Enables support for NAND Flash / Smart Media Card interface
on Atmel AT91 processors. on Atmel AT91 processors.
config MTD_NAND_ORION
tristate "Marvell Orion NAND controller"
depends on PLAT_ORION
help
This enables the NAND flash controller on Orion machines.
No board specific support is done by this driver, each board
must advertise a platform_device for the driver to attach.
config MTD_NAND_MARVELL config MTD_NAND_MARVELL
tristate "NAND controller support on Marvell boards" tristate "Marvell EBU NAND controller"
depends on PXA3xx || ARCH_MMP || PLAT_ORION || ARCH_MVEBU || \ depends on PXA3xx || ARCH_MMP || PLAT_ORION || ARCH_MVEBU || \
COMPILE_TEST COMPILE_TEST
depends on HAS_IOMEM depends on HAS_IOMEM
...@@ -273,7 +189,7 @@ config MTD_NAND_MARVELL ...@@ -273,7 +189,7 @@ config MTD_NAND_MARVELL
- 64-bit Aramda platforms (7k, 8k) (NFCv2) - 64-bit Aramda platforms (7k, 8k) (NFCv2)
config MTD_NAND_SLC_LPC32XX config MTD_NAND_SLC_LPC32XX
tristate "NXP LPC32xx SLC Controller" tristate "NXP LPC32xx SLC NAND controller"
depends on ARCH_LPC32XX || COMPILE_TEST depends on ARCH_LPC32XX || COMPILE_TEST
depends on HAS_IOMEM depends on HAS_IOMEM
help help
...@@ -285,7 +201,7 @@ config MTD_NAND_SLC_LPC32XX ...@@ -285,7 +201,7 @@ config MTD_NAND_SLC_LPC32XX
by the SLC NAND controller. by the SLC NAND controller.
config MTD_NAND_MLC_LPC32XX config MTD_NAND_MLC_LPC32XX
tristate "NXP LPC32xx MLC Controller" tristate "NXP LPC32xx MLC NAND controller"
depends on ARCH_LPC32XX || COMPILE_TEST depends on ARCH_LPC32XX || COMPILE_TEST
depends on HAS_IOMEM depends on HAS_IOMEM
help help
...@@ -297,38 +213,23 @@ config MTD_NAND_MLC_LPC32XX ...@@ -297,38 +213,23 @@ config MTD_NAND_MLC_LPC32XX
by the MLC NAND controller. by the MLC NAND controller.
config MTD_NAND_CM_X270 config MTD_NAND_CM_X270
tristate "Support for NAND Flash on CM-X270 modules" tristate "CM-X270 modules NAND controller"
depends on MACH_ARMCORE depends on MACH_ARMCORE
config MTD_NAND_PASEMI config MTD_NAND_PASEMI
tristate "NAND support for PA Semi PWRficient" tristate "PA Semi PWRficient NAND controller"
depends on PPC_PASEMI depends on PPC_PASEMI
help help
Enables support for NAND Flash interface on PA Semi PWRficient Enables support for NAND Flash interface on PA Semi PWRficient
based boards based boards
config MTD_NAND_TMIO config MTD_NAND_TMIO
tristate "NAND Flash device on Toshiba Mobile IO Controller" tristate "Toshiba Mobile IO NAND controller"
depends on MFD_TMIO depends on MFD_TMIO
help help
Support for NAND flash connected to a Toshiba Mobile IO Support for NAND flash connected to a Toshiba Mobile IO
Controller in some PDAs, including the Sharp SL6000x. Controller in some PDAs, including the Sharp SL6000x.
config MTD_NAND_NANDSIM
tristate "Support for NAND Flash Simulator"
help
The simulator may simulate various NAND flash chips for the
MTD nand layer.
config MTD_NAND_GPMI_NAND
tristate "GPMI NAND Flash Controller driver"
depends on MXS_DMA
help
Enables NAND Flash support for IMX23, IMX28 or IMX6.
The GPMI controller is very powerful, with the help of BCH
module, it can do the hardware ECC. The GPMI supports several
NAND flashs at the same time.
config MTD_NAND_BRCMNAND config MTD_NAND_BRCMNAND
tristate "Broadcom STB NAND controller" tristate "Broadcom STB NAND controller"
depends on ARM || ARM64 || MIPS || COMPILE_TEST depends on ARM || ARM64 || MIPS || COMPILE_TEST
...@@ -339,7 +240,7 @@ config MTD_NAND_BRCMNAND ...@@ -339,7 +240,7 @@ config MTD_NAND_BRCMNAND
BCM3xxx, BCM63xxx, iProc/Cygnus and more. BCM3xxx, BCM63xxx, iProc/Cygnus and more.
config MTD_NAND_BCM47XXNFLASH config MTD_NAND_BCM47XXNFLASH
tristate "Support for NAND flash on BCM4706 BCMA bus" tristate "BCM4706 BCMA NAND controller"
depends on BCMA_NFLASH depends on BCMA_NFLASH
depends on BCMA depends on BCMA
help help
...@@ -347,32 +248,31 @@ config MTD_NAND_BCM47XXNFLASH ...@@ -347,32 +248,31 @@ config MTD_NAND_BCM47XXNFLASH
registered by bcma as platform devices. This enables driver for registered by bcma as platform devices. This enables driver for
NAND flash memories. For now only BCM4706 is supported. NAND flash memories. For now only BCM4706 is supported.
config MTD_NAND_PLATFORM config MTD_NAND_OXNAS
tristate "Support for generic platform NAND driver" tristate "Oxford Semiconductor NAND controller"
depends on ARCH_OXNAS || COMPILE_TEST
depends on HAS_IOMEM depends on HAS_IOMEM
help help
This implements a generic NAND driver for on-SOC platform This enables the NAND flash controller on Oxford Semiconductor SoCs.
devices. You will need to provide platform-specific functions
via platform_data.
config MTD_NAND_ORION config MTD_NAND_MPC5121_NFC
tristate "NAND Flash support for Marvell Orion SoC" tristate "MPC5121 NAND controller"
depends on PLAT_ORION depends on PPC_MPC512x
help help
This enables the NAND flash controller on Orion machines. This enables the driver for the NAND flash controller on the
MPC5121 SoC.
No board specific support is done by this driver, each board
must advertise a platform_device for the driver to attach.
config MTD_NAND_OXNAS config MTD_NAND_GPMI_NAND
tristate "NAND Flash support for Oxford Semiconductor SoC" tristate "Freescale GPMI NAND controller"
depends on ARCH_OXNAS || COMPILE_TEST depends on MXS_DMA
depends on HAS_IOMEM
help help
This enables the NAND flash controller on Oxford Semiconductor SoCs. Enables NAND Flash support for IMX23, IMX28 or IMX6.
The GPMI controller is very powerful, with the help of BCH
module, it can do the hardware ECC. The GPMI supports several
NAND flashs at the same time.
config MTD_NAND_FSL_ELBC config MTD_NAND_FSL_ELBC
tristate "NAND support for Freescale eLBC controllers" tristate "Freescale eLBC NAND controller"
depends on FSL_SOC depends on FSL_SOC
select FSL_LBC select FSL_LBC
help help
...@@ -382,7 +282,7 @@ config MTD_NAND_FSL_ELBC ...@@ -382,7 +282,7 @@ config MTD_NAND_FSL_ELBC
external NAND devices. external NAND devices.
config MTD_NAND_FSL_IFC config MTD_NAND_FSL_IFC
tristate "NAND support for Freescale IFC controller" tristate "Freescale IFC NAND controller"
depends on FSL_SOC || ARCH_LAYERSCAPE || SOC_LS1021A || COMPILE_TEST depends on FSL_SOC || ARCH_LAYERSCAPE || SOC_LS1021A || COMPILE_TEST
depends on HAS_IOMEM depends on HAS_IOMEM
select FSL_IFC select FSL_IFC
...@@ -394,22 +294,15 @@ config MTD_NAND_FSL_IFC ...@@ -394,22 +294,15 @@ config MTD_NAND_FSL_IFC
external NAND devices. external NAND devices.
config MTD_NAND_FSL_UPM config MTD_NAND_FSL_UPM
tristate "Support for NAND on Freescale UPM" tristate "Freescale UPM NAND controller"
depends on PPC_83xx || PPC_85xx depends on PPC_83xx || PPC_85xx
select FSL_LBC select FSL_LBC
help help
Enables support for NAND Flash chips wired onto Freescale PowerPC Enables support for NAND Flash chips wired onto Freescale PowerPC
processor localbus with User-Programmable Machine support. processor localbus with User-Programmable Machine support.
config MTD_NAND_MPC5121_NFC
tristate "MPC5121 built-in NAND Flash Controller support"
depends on PPC_MPC512x
help
This enables the driver for the NAND flash controller on the
MPC5121 SoC.
config MTD_NAND_VF610_NFC config MTD_NAND_VF610_NFC
tristate "Support for Freescale NFC for VF610/MPC5125" tristate "Freescale VF610/MPC5125 NAND controller"
depends on (SOC_VF610 || COMPILE_TEST) depends on (SOC_VF610 || COMPILE_TEST)
depends on HAS_IOMEM depends on HAS_IOMEM
help help
...@@ -421,7 +314,7 @@ config MTD_NAND_VF610_NFC ...@@ -421,7 +314,7 @@ config MTD_NAND_VF610_NFC
device tree. device tree.
config MTD_NAND_MXC config MTD_NAND_MXC
tristate "MXC NAND support" tristate "Freescale MXC NAND controller"
depends on ARCH_MXC || COMPILE_TEST depends on ARCH_MXC || COMPILE_TEST
depends on HAS_IOMEM depends on HAS_IOMEM
help help
...@@ -429,7 +322,7 @@ config MTD_NAND_MXC ...@@ -429,7 +322,7 @@ config MTD_NAND_MXC
MXC processors. MXC processors.
config MTD_NAND_SH_FLCTL config MTD_NAND_SH_FLCTL
tristate "Support for NAND on Renesas SuperH FLCTL" tristate "Renesas SuperH FLCTL NAND controller"
depends on SUPERH || COMPILE_TEST depends on SUPERH || COMPILE_TEST
depends on HAS_IOMEM depends on HAS_IOMEM
help help
...@@ -437,7 +330,7 @@ config MTD_NAND_SH_FLCTL ...@@ -437,7 +330,7 @@ config MTD_NAND_SH_FLCTL
for NAND Flash using FLCTL. for NAND Flash using FLCTL.
config MTD_NAND_DAVINCI config MTD_NAND_DAVINCI
tristate "Support NAND on DaVinci/Keystone SoC" tristate "DaVinci/Keystone NAND controller"
depends on ARCH_DAVINCI || (ARCH_KEYSTONE && TI_AEMIF) || COMPILE_TEST depends on ARCH_DAVINCI || (ARCH_KEYSTONE && TI_AEMIF) || COMPILE_TEST
depends on HAS_IOMEM depends on HAS_IOMEM
help help
...@@ -445,20 +338,20 @@ config MTD_NAND_DAVINCI ...@@ -445,20 +338,20 @@ config MTD_NAND_DAVINCI
DaVinci/Keystone processors. DaVinci/Keystone processors.
config MTD_NAND_TXX9NDFMC config MTD_NAND_TXX9NDFMC
tristate "NAND Flash support for TXx9 SoC" tristate "TXx9 NAND controller"
depends on SOC_TX4938 || SOC_TX4939 || COMPILE_TEST depends on SOC_TX4938 || SOC_TX4939 || COMPILE_TEST
depends on HAS_IOMEM depends on HAS_IOMEM
help help
This enables the NAND flash controller on the TXx9 SoCs. This enables the NAND flash controller on the TXx9 SoCs.
config MTD_NAND_SOCRATES config MTD_NAND_SOCRATES
tristate "Support for NAND on Socrates board" tristate "Socrates NAND controller"
depends on SOCRATES depends on SOCRATES
help help
Enables support for NAND Flash chips wired onto Socrates board. Enables support for NAND Flash chips wired onto Socrates board.
config MTD_NAND_NUC900 config MTD_NAND_NUC900
tristate "Support for NAND on Nuvoton NUC9xx/w90p910 evaluation boards." tristate "Nuvoton NUC9xx/w90p910 NAND controller"
depends on ARCH_W90X900 || COMPILE_TEST depends on ARCH_W90X900 || COMPILE_TEST
depends on HAS_IOMEM depends on HAS_IOMEM
help help
...@@ -468,7 +361,7 @@ config MTD_NAND_NUC900 ...@@ -468,7 +361,7 @@ config MTD_NAND_NUC900
source "drivers/mtd/nand/raw/ingenic/Kconfig" source "drivers/mtd/nand/raw/ingenic/Kconfig"
config MTD_NAND_FSMC config MTD_NAND_FSMC
tristate "Support for NAND on ST Micros FSMC" tristate "ST Micros FSMC NAND controller"
depends on OF && HAS_IOMEM depends on OF && HAS_IOMEM
depends on PLAT_SPEAR || ARCH_NOMADIK || ARCH_U8500 || MACH_U300 || \ depends on PLAT_SPEAR || ARCH_NOMADIK || ARCH_U8500 || MACH_U300 || \
COMPILE_TEST COMPILE_TEST
...@@ -477,28 +370,28 @@ config MTD_NAND_FSMC ...@@ -477,28 +370,28 @@ config MTD_NAND_FSMC
Flexible Static Memory Controller (FSMC) Flexible Static Memory Controller (FSMC)
config MTD_NAND_XWAY config MTD_NAND_XWAY
bool "Support for NAND on Lantiq XWAY SoC" bool "Lantiq XWAY NAND controller"
depends on LANTIQ && SOC_TYPE_XWAY depends on LANTIQ && SOC_TYPE_XWAY
help help
Enables support for NAND Flash chips on Lantiq XWAY SoCs. NAND is attached Enables support for NAND Flash chips on Lantiq XWAY SoCs. NAND is attached
to the External Bus Unit (EBU). to the External Bus Unit (EBU).
config MTD_NAND_SUNXI config MTD_NAND_SUNXI
tristate "Support for NAND on Allwinner SoCs" tristate "Allwinner NAND controller"
depends on ARCH_SUNXI || COMPILE_TEST depends on ARCH_SUNXI || COMPILE_TEST
depends on HAS_IOMEM depends on HAS_IOMEM
help help
Enables support for NAND Flash chips on Allwinner SoCs. Enables support for NAND Flash chips on Allwinner SoCs.
config MTD_NAND_HISI504 config MTD_NAND_HISI504
tristate "Support for NAND controller on Hisilicon SoC Hip04" tristate "Hisilicon Hip04 NAND controller"
depends on ARCH_HISI || COMPILE_TEST depends on ARCH_HISI || COMPILE_TEST
depends on HAS_IOMEM depends on HAS_IOMEM
help help
Enables support for NAND controller on Hisilicon SoC Hip04. Enables support for NAND controller on Hisilicon SoC Hip04.
config MTD_NAND_QCOM config MTD_NAND_QCOM
tristate "Support for NAND on QCOM SoCs" tristate "QCOM NAND controller"
depends on ARCH_QCOM || COMPILE_TEST depends on ARCH_QCOM || COMPILE_TEST
depends on HAS_IOMEM depends on HAS_IOMEM
help help
...@@ -506,7 +399,7 @@ config MTD_NAND_QCOM ...@@ -506,7 +399,7 @@ config MTD_NAND_QCOM
controller. This controller is found on IPQ806x SoC. controller. This controller is found on IPQ806x SoC.
config MTD_NAND_MTK config MTD_NAND_MTK
tristate "Support for NAND controller on MTK SoCs" tristate "MTK NAND controller"
depends on ARCH_MEDIATEK || COMPILE_TEST depends on ARCH_MEDIATEK || COMPILE_TEST
depends on HAS_IOMEM depends on HAS_IOMEM
help help
...@@ -514,7 +407,7 @@ config MTD_NAND_MTK ...@@ -514,7 +407,7 @@ config MTD_NAND_MTK
This controller is found on mt27xx, mt81xx, mt65xx SoCs. This controller is found on mt27xx, mt81xx, mt65xx SoCs.
config MTD_NAND_TEGRA config MTD_NAND_TEGRA
tristate "Support for NAND controller on NVIDIA Tegra" tristate "NVIDIA Tegra NAND controller"
depends on ARCH_TEGRA || COMPILE_TEST depends on ARCH_TEGRA || COMPILE_TEST
depends on HAS_IOMEM depends on HAS_IOMEM
help help
...@@ -541,4 +434,115 @@ config MTD_NAND_MESON ...@@ -541,4 +434,115 @@ config MTD_NAND_MESON
Enables support for NAND controller on Amlogic's Meson SoCs. Enables support for NAND controller on Amlogic's Meson SoCs.
This controller is found on Meson SoCs. This controller is found on Meson SoCs.
config MTD_NAND_GPIO
tristate "GPIO assisted NAND controller"
depends on GPIOLIB || COMPILE_TEST
depends on HAS_IOMEM
help
This enables a NAND flash driver where control signals are
connected to GPIO pins, and commands and data are communicated
via a memory mapped interface.
config MTD_NAND_PLATFORM
tristate "Generic NAND controller"
depends on HAS_IOMEM
help
This implements a generic NAND driver for on-SOC platform
devices. You will need to provide platform-specific functions
via platform_data.
comment "Misc"
config MTD_SM_COMMON
tristate
default n
config MTD_NAND_NANDSIM
tristate "Support for NAND Flash Simulator"
help
The simulator may simulate various NAND flash chips for the
MTD nand layer.
config MTD_NAND_RICOH
tristate "Ricoh xD card reader"
default n
depends on PCI
select MTD_SM_COMMON
help
Enable support for Ricoh R5C852 xD card reader
You also need to enable ether
NAND SSFDC (SmartMedia) read only translation layer' or new
expermental, readwrite
'SmartMedia/xD new translation layer'
config MTD_NAND_DISKONCHIP
tristate "DiskOnChip 2000, Millennium and Millennium Plus (NAND reimplementation)"
depends on HAS_IOMEM
select REED_SOLOMON
select REED_SOLOMON_DEC16
help
This is a reimplementation of M-Systems DiskOnChip 2000,
Millennium and Millennium Plus as a standard NAND device driver,
as opposed to the earlier self-contained MTD device drivers.
This should enable, among other things, proper JFFS2 operation on
these devices.
config MTD_NAND_DISKONCHIP_PROBE_ADVANCED
bool "Advanced detection options for DiskOnChip"
depends on MTD_NAND_DISKONCHIP
help
This option allows you to specify nonstandard address at which to
probe for a DiskOnChip, or to change the detection options. You
are unlikely to need any of this unless you are using LinuxBIOS.
Say 'N'.
config MTD_NAND_DISKONCHIP_PROBE_ADDRESS
hex "Physical address of DiskOnChip" if MTD_NAND_DISKONCHIP_PROBE_ADVANCED
depends on MTD_NAND_DISKONCHIP
default "0"
help
By default, the probe for DiskOnChip devices will look for a
DiskOnChip at every multiple of 0x2000 between 0xC8000 and 0xEE000.
This option allows you to specify a single address at which to probe
for the device, which is useful if you have other devices in that
range which get upset when they are probed.
(Note that on PowerPC, the normal probe will only check at
0xE4000000.)
Normally, you should leave this set to zero, to allow the probe at
the normal addresses.
config MTD_NAND_DISKONCHIP_PROBE_HIGH
bool "Probe high addresses"
depends on MTD_NAND_DISKONCHIP_PROBE_ADVANCED
help
By default, the probe for DiskOnChip devices will look for a
DiskOnChip at every multiple of 0x2000 between 0xC8000 and 0xEE000.
This option changes to make it probe between 0xFFFC8000 and
0xFFFEE000. Unless you are using LinuxBIOS, this is unlikely to be
useful to you. Say 'N'.
config MTD_NAND_DISKONCHIP_BBTWRITE
bool "Allow BBT writes on DiskOnChip Millennium and 2000TSOP"
depends on MTD_NAND_DISKONCHIP
help
On DiskOnChip devices shipped with the INFTL filesystem (Millennium
and 2000 TSOP/Alon), Linux reserves some space at the end of the
device for the Bad Block Table (BBT). If you have existing INFTL
data on your device (created by non-Linux tools such as M-Systems'
DOS drivers), your data might overlap the area Linux wants to use for
the BBT. If this is a concern for you, leave this option disabled and
Linux will not write BBT data into this area.
The downside of leaving this option disabled is that if bad blocks
are detected by Linux, they will not be recorded in the BBT, which
could cause future problems.
Once you enable this option, new filesystems (INFTL or others, created
in Linux or other operating systems) will not use the reserved area.
The only reason not to enable this option is to prevent damage to
preexisting filesystems.
Even if you leave this disabled, you can enable BBT writes at module
load time (assuming you build diskonchip as a module) with the module
parameter "inftl_bbt_write=1".
endif # MTD_NAND endif # MTD_NAND
config MTD_NAND_JZ4740 config MTD_NAND_JZ4740
tristate "Support for JZ4740 SoC NAND controller" tristate "JZ4740 NAND controller"
depends on MACH_JZ4740 || COMPILE_TEST depends on MACH_JZ4740 || COMPILE_TEST
depends on HAS_IOMEM depends on HAS_IOMEM
help help
Enables support for NAND Flash on JZ4740 SoC based boards. Enables support for NAND Flash on JZ4740 SoC based boards.
config MTD_NAND_JZ4780 config MTD_NAND_JZ4780
tristate "Support for NAND on JZ4780 SoC" tristate "JZ4780 NAND controller"
depends on JZ4780_NEMC depends on JZ4780_NEMC
help help
Enables support for NAND Flash connected to the NEMC on JZ4780 SoC Enables support for NAND Flash connected to the NEMC on JZ4780 SoC
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment