193db446aSBoris Brezillonconfig MTD_NAND_ECC 293db446aSBoris Brezillon tristate 393db446aSBoris Brezillon 493db446aSBoris Brezillonconfig MTD_NAND_ECC_SMC 593db446aSBoris Brezillon bool "NAND ECC Smart Media byte order" 693db446aSBoris Brezillon depends on MTD_NAND_ECC 793db446aSBoris Brezillon default n 893db446aSBoris Brezillon help 993db446aSBoris Brezillon Software ECC according to the Smart Media Specification. 1093db446aSBoris Brezillon The original Linux implementation had byte 0 and 1 swapped. 1193db446aSBoris Brezillon 1293db446aSBoris Brezillon 1393db446aSBoris Brezillonmenuconfig MTD_NAND 14daf9a874SMiquel Raynal tristate "Raw/Parallel NAND Device Support" 1593db446aSBoris Brezillon depends on MTD 1693db446aSBoris Brezillon select MTD_NAND_ECC 1793db446aSBoris Brezillon help 18daf9a874SMiquel Raynal This enables support for accessing all type of raw/parallel 19daf9a874SMiquel Raynal NAND flash devices. For further information see 2093db446aSBoris Brezillon <http://www.linux-mtd.infradead.org/doc/nand.html>. 2193db446aSBoris Brezillon 2293db446aSBoris Brezillonif MTD_NAND 2393db446aSBoris Brezillon 2493db446aSBoris Brezillonconfig MTD_NAND_BCH 2593db446aSBoris Brezillon tristate 2693db446aSBoris Brezillon select BCH 2793db446aSBoris Brezillon depends on MTD_NAND_ECC_BCH 2893db446aSBoris Brezillon default MTD_NAND 2993db446aSBoris Brezillon 3093db446aSBoris Brezillonconfig MTD_NAND_ECC_BCH 3193db446aSBoris Brezillon bool "Support software BCH ECC" 3293db446aSBoris Brezillon default n 3393db446aSBoris Brezillon help 3493db446aSBoris Brezillon This enables support for software BCH error correction. Binary BCH 3593db446aSBoris Brezillon codes are more powerful and cpu intensive than traditional Hamming 3693db446aSBoris Brezillon ECC codes. They are used with NAND devices requiring more than 1 bit 3793db446aSBoris Brezillon of error correction. 3893db446aSBoris Brezillon 3993db446aSBoris Brezillonconfig MTD_SM_COMMON 4093db446aSBoris Brezillon tristate 4193db446aSBoris Brezillon default n 4293db446aSBoris Brezillon 4393db446aSBoris Brezillonconfig MTD_NAND_DENALI 4493db446aSBoris Brezillon tristate 4593db446aSBoris Brezillon 4693db446aSBoris Brezillonconfig MTD_NAND_DENALI_PCI 4793db446aSBoris Brezillon tristate "Support Denali NAND controller on Intel Moorestown" 4893db446aSBoris Brezillon select MTD_NAND_DENALI 497db782bcSGeert Uytterhoeven depends on PCI 5093db446aSBoris Brezillon help 5193db446aSBoris Brezillon Enable the driver for NAND flash on Intel Moorestown, using the 5293db446aSBoris Brezillon Denali NAND controller core. 5393db446aSBoris Brezillon 5493db446aSBoris Brezillonconfig MTD_NAND_DENALI_DT 5593db446aSBoris Brezillon tristate "Support Denali NAND controller as a DT device" 5693db446aSBoris Brezillon select MTD_NAND_DENALI 5793db446aSBoris Brezillon depends on HAS_DMA && HAVE_CLK && OF 5893db446aSBoris Brezillon help 5993db446aSBoris Brezillon Enable the driver for NAND flash on platforms using a Denali NAND 6093db446aSBoris Brezillon controller as a DT device. 6193db446aSBoris Brezillon 6293db446aSBoris Brezillonconfig MTD_NAND_GPIO 6393db446aSBoris Brezillon tristate "GPIO assisted NAND Flash driver" 6493db446aSBoris Brezillon depends on GPIOLIB || COMPILE_TEST 6593db446aSBoris Brezillon depends on HAS_IOMEM 6693db446aSBoris Brezillon help 6793db446aSBoris Brezillon This enables a NAND flash driver where control signals are 6893db446aSBoris Brezillon connected to GPIO pins, and commands and data are communicated 6993db446aSBoris Brezillon via a memory mapped interface. 7093db446aSBoris Brezillon 7193db446aSBoris Brezillonconfig MTD_NAND_AMS_DELTA 7293db446aSBoris Brezillon tristate "NAND Flash device on Amstrad E3" 7393db446aSBoris Brezillon depends on MACH_AMS_DELTA 7493db446aSBoris Brezillon default y 7593db446aSBoris Brezillon help 7693db446aSBoris Brezillon Support for NAND flash on Amstrad E3 (Delta). 7793db446aSBoris Brezillon 7893db446aSBoris Brezillonconfig MTD_NAND_OMAP2 7993db446aSBoris Brezillon tristate "NAND Flash device on OMAP2, OMAP3, OMAP4 and Keystone" 8093db446aSBoris Brezillon depends on (ARCH_OMAP2PLUS || ARCH_KEYSTONE) 8193db446aSBoris Brezillon help 8293db446aSBoris Brezillon Support for NAND flash on Texas Instruments OMAP2, OMAP3, OMAP4 8393db446aSBoris Brezillon and Keystone platforms. 8493db446aSBoris Brezillon 8593db446aSBoris Brezillonconfig MTD_NAND_OMAP_BCH 8693db446aSBoris Brezillon depends on MTD_NAND_OMAP2 8793db446aSBoris Brezillon bool "Support hardware based BCH error correction" 8893db446aSBoris Brezillon default n 8993db446aSBoris Brezillon select BCH 9093db446aSBoris Brezillon help 9193db446aSBoris Brezillon This config enables the ELM hardware engine, which can be used to 9293db446aSBoris Brezillon locate and correct errors when using BCH ECC scheme. This offloads 9393db446aSBoris Brezillon the cpu from doing ECC error searching and correction. However some 9493db446aSBoris Brezillon legacy OMAP families like OMAP2xxx, OMAP3xxx do not have ELM engine 9593db446aSBoris Brezillon so this is optional for them. 9693db446aSBoris Brezillon 9793db446aSBoris Brezillonconfig MTD_NAND_OMAP_BCH_BUILD 9893db446aSBoris Brezillon def_tristate MTD_NAND_OMAP2 && MTD_NAND_OMAP_BCH 9993db446aSBoris Brezillon 10093db446aSBoris Brezillonconfig MTD_NAND_RICOH 10193db446aSBoris Brezillon tristate "Ricoh xD card reader" 10293db446aSBoris Brezillon default n 10393db446aSBoris Brezillon depends on PCI 10493db446aSBoris Brezillon select MTD_SM_COMMON 10593db446aSBoris Brezillon help 10693db446aSBoris Brezillon Enable support for Ricoh R5C852 xD card reader 10793db446aSBoris Brezillon You also need to enable ether 10893db446aSBoris Brezillon NAND SSFDC (SmartMedia) read only translation layer' or new 10993db446aSBoris Brezillon expermental, readwrite 11093db446aSBoris Brezillon 'SmartMedia/xD new translation layer' 11193db446aSBoris Brezillon 11293db446aSBoris Brezillonconfig MTD_NAND_AU1550 11393db446aSBoris Brezillon tristate "Au1550/1200 NAND support" 11493db446aSBoris Brezillon depends on MIPS_ALCHEMY 11593db446aSBoris Brezillon help 11693db446aSBoris Brezillon This enables the driver for the NAND flash controller on the 11793db446aSBoris Brezillon AMD/Alchemy 1550 SOC. 11893db446aSBoris Brezillon 11993db446aSBoris Brezillonconfig MTD_NAND_S3C2410 12093db446aSBoris Brezillon tristate "NAND Flash support for Samsung S3C SoCs" 12193db446aSBoris Brezillon depends on ARCH_S3C24XX || ARCH_S3C64XX 12293db446aSBoris Brezillon help 12393db446aSBoris Brezillon This enables the NAND flash controller on the S3C24xx and S3C64xx 12493db446aSBoris Brezillon SoCs 12593db446aSBoris Brezillon 12693db446aSBoris Brezillon No board specific support is done by this driver, each board 12793db446aSBoris Brezillon must advertise a platform_device for the driver to attach. 12893db446aSBoris Brezillon 12993db446aSBoris Brezillonconfig MTD_NAND_S3C2410_DEBUG 13093db446aSBoris Brezillon bool "Samsung S3C NAND driver debug" 13193db446aSBoris Brezillon depends on MTD_NAND_S3C2410 13293db446aSBoris Brezillon help 13393db446aSBoris Brezillon Enable debugging of the S3C NAND driver 13493db446aSBoris Brezillon 13593db446aSBoris Brezillonconfig MTD_NAND_NDFC 13693db446aSBoris Brezillon tristate "NDFC NanD Flash Controller" 13793db446aSBoris Brezillon depends on 4xx 13893db446aSBoris Brezillon select MTD_NAND_ECC_SMC 13993db446aSBoris Brezillon help 14093db446aSBoris Brezillon NDFC Nand Flash Controllers are integrated in IBM/AMCC's 4xx SoCs 14193db446aSBoris Brezillon 14293db446aSBoris Brezillonconfig MTD_NAND_S3C2410_CLKSTOP 14393db446aSBoris Brezillon bool "Samsung S3C NAND IDLE clock stop" 14493db446aSBoris Brezillon depends on MTD_NAND_S3C2410 14593db446aSBoris Brezillon default n 14693db446aSBoris Brezillon help 14793db446aSBoris Brezillon Stop the clock to the NAND controller when there is no chip 14893db446aSBoris Brezillon selected to save power. This will mean there is a small delay 14993db446aSBoris Brezillon when the is NAND chip selected or released, but will save 15093db446aSBoris Brezillon approximately 5mA of power when there is nothing happening. 15193db446aSBoris Brezillon 15293db446aSBoris Brezillonconfig MTD_NAND_TANGO 15393db446aSBoris Brezillon tristate "NAND Flash support for Tango chips" 15493db446aSBoris Brezillon depends on ARCH_TANGO || COMPILE_TEST 15593db446aSBoris Brezillon help 15693db446aSBoris Brezillon Enables the NAND Flash controller on Tango chips. 15793db446aSBoris Brezillon 15893db446aSBoris Brezillonconfig MTD_NAND_DISKONCHIP 15993db446aSBoris Brezillon tristate "DiskOnChip 2000, Millennium and Millennium Plus (NAND reimplementation)" 16093db446aSBoris Brezillon depends on HAS_IOMEM 16193db446aSBoris Brezillon select REED_SOLOMON 16293db446aSBoris Brezillon select REED_SOLOMON_DEC16 16393db446aSBoris Brezillon help 16493db446aSBoris Brezillon This is a reimplementation of M-Systems DiskOnChip 2000, 16593db446aSBoris Brezillon Millennium and Millennium Plus as a standard NAND device driver, 16693db446aSBoris Brezillon as opposed to the earlier self-contained MTD device drivers. 16793db446aSBoris Brezillon This should enable, among other things, proper JFFS2 operation on 16893db446aSBoris Brezillon these devices. 16993db446aSBoris Brezillon 17093db446aSBoris Brezillonconfig MTD_NAND_DISKONCHIP_PROBE_ADVANCED 17193db446aSBoris Brezillon bool "Advanced detection options for DiskOnChip" 17293db446aSBoris Brezillon depends on MTD_NAND_DISKONCHIP 17393db446aSBoris Brezillon help 17493db446aSBoris Brezillon This option allows you to specify nonstandard address at which to 17593db446aSBoris Brezillon probe for a DiskOnChip, or to change the detection options. You 17693db446aSBoris Brezillon are unlikely to need any of this unless you are using LinuxBIOS. 17793db446aSBoris Brezillon Say 'N'. 17893db446aSBoris Brezillon 17993db446aSBoris Brezillonconfig MTD_NAND_DISKONCHIP_PROBE_ADDRESS 18093db446aSBoris Brezillon hex "Physical address of DiskOnChip" if MTD_NAND_DISKONCHIP_PROBE_ADVANCED 18193db446aSBoris Brezillon depends on MTD_NAND_DISKONCHIP 18293db446aSBoris Brezillon default "0" 18393db446aSBoris Brezillon ---help--- 18493db446aSBoris Brezillon By default, the probe for DiskOnChip devices will look for a 18593db446aSBoris Brezillon DiskOnChip at every multiple of 0x2000 between 0xC8000 and 0xEE000. 18693db446aSBoris Brezillon This option allows you to specify a single address at which to probe 18793db446aSBoris Brezillon for the device, which is useful if you have other devices in that 18893db446aSBoris Brezillon range which get upset when they are probed. 18993db446aSBoris Brezillon 19093db446aSBoris Brezillon (Note that on PowerPC, the normal probe will only check at 19193db446aSBoris Brezillon 0xE4000000.) 19293db446aSBoris Brezillon 19393db446aSBoris Brezillon Normally, you should leave this set to zero, to allow the probe at 19493db446aSBoris Brezillon the normal addresses. 19593db446aSBoris Brezillon 19693db446aSBoris Brezillonconfig MTD_NAND_DISKONCHIP_PROBE_HIGH 19793db446aSBoris Brezillon bool "Probe high addresses" 19893db446aSBoris Brezillon depends on MTD_NAND_DISKONCHIP_PROBE_ADVANCED 19993db446aSBoris Brezillon help 20093db446aSBoris Brezillon By default, the probe for DiskOnChip devices will look for a 20193db446aSBoris Brezillon DiskOnChip at every multiple of 0x2000 between 0xC8000 and 0xEE000. 20293db446aSBoris Brezillon This option changes to make it probe between 0xFFFC8000 and 20393db446aSBoris Brezillon 0xFFFEE000. Unless you are using LinuxBIOS, this is unlikely to be 20493db446aSBoris Brezillon useful to you. Say 'N'. 20593db446aSBoris Brezillon 20693db446aSBoris Brezillonconfig MTD_NAND_DISKONCHIP_BBTWRITE 20793db446aSBoris Brezillon bool "Allow BBT writes on DiskOnChip Millennium and 2000TSOP" 20893db446aSBoris Brezillon depends on MTD_NAND_DISKONCHIP 20993db446aSBoris Brezillon help 21093db446aSBoris Brezillon On DiskOnChip devices shipped with the INFTL filesystem (Millennium 21193db446aSBoris Brezillon and 2000 TSOP/Alon), Linux reserves some space at the end of the 21293db446aSBoris Brezillon device for the Bad Block Table (BBT). If you have existing INFTL 21393db446aSBoris Brezillon data on your device (created by non-Linux tools such as M-Systems' 21493db446aSBoris Brezillon DOS drivers), your data might overlap the area Linux wants to use for 21593db446aSBoris Brezillon the BBT. If this is a concern for you, leave this option disabled and 21693db446aSBoris Brezillon Linux will not write BBT data into this area. 21793db446aSBoris Brezillon The downside of leaving this option disabled is that if bad blocks 21893db446aSBoris Brezillon are detected by Linux, they will not be recorded in the BBT, which 21993db446aSBoris Brezillon could cause future problems. 22093db446aSBoris Brezillon Once you enable this option, new filesystems (INFTL or others, created 22193db446aSBoris Brezillon in Linux or other operating systems) will not use the reserved area. 22293db446aSBoris Brezillon The only reason not to enable this option is to prevent damage to 22393db446aSBoris Brezillon preexisting filesystems. 22493db446aSBoris Brezillon Even if you leave this disabled, you can enable BBT writes at module 22593db446aSBoris Brezillon load time (assuming you build diskonchip as a module) with the module 22693db446aSBoris Brezillon parameter "inftl_bbt_write=1". 22793db446aSBoris Brezillon 22893db446aSBoris Brezillonconfig MTD_NAND_DOCG4 22993db446aSBoris Brezillon tristate "Support for DiskOnChip G4" 23093db446aSBoris Brezillon depends on HAS_IOMEM 23193db446aSBoris Brezillon select BCH 23293db446aSBoris Brezillon select BITREVERSE 23393db446aSBoris Brezillon help 23493db446aSBoris Brezillon Support for diskonchip G4 nand flash, found in various smartphones and 23593db446aSBoris Brezillon PDAs, among them the Palm Treo680, HTC Prophet and Wizard, Toshiba 23693db446aSBoris Brezillon Portege G900, Asus P526, and O2 XDA Zinc. 23793db446aSBoris Brezillon 23893db446aSBoris Brezillon With this driver you will be able to use UBI and create a ubifs on the 23993db446aSBoris Brezillon device, so you may wish to consider enabling UBI and UBIFS as well. 24093db446aSBoris Brezillon 24193db446aSBoris Brezillon These devices ship with the Mys/Sandisk SAFTL formatting, for which 24293db446aSBoris Brezillon there is currently no mtd parser, so you may want to use command line 24393db446aSBoris Brezillon partitioning to segregate write-protected blocks. On the Treo680, the 24493db446aSBoris Brezillon first five erase blocks (256KiB each) are write-protected, followed 24593db446aSBoris Brezillon by the block containing the saftl partition table. This is probably 24693db446aSBoris Brezillon typical. 24793db446aSBoris Brezillon 24893db446aSBoris Brezillonconfig MTD_NAND_SHARPSL 24993db446aSBoris Brezillon tristate "Support for NAND Flash on Sharp SL Series (C7xx + others)" 25093db446aSBoris Brezillon depends on ARCH_PXA 25193db446aSBoris Brezillon 25293db446aSBoris Brezillonconfig MTD_NAND_CAFE 25393db446aSBoris Brezillon tristate "NAND support for OLPC CAFÉ chip" 25493db446aSBoris Brezillon depends on PCI 25593db446aSBoris Brezillon select REED_SOLOMON 25693db446aSBoris Brezillon select REED_SOLOMON_DEC16 25793db446aSBoris Brezillon help 25893db446aSBoris Brezillon Use NAND flash attached to the CAFÉ chip designed for the OLPC 25993db446aSBoris Brezillon laptop. 26093db446aSBoris Brezillon 26193db446aSBoris Brezillonconfig MTD_NAND_CS553X 26293db446aSBoris Brezillon tristate "NAND support for CS5535/CS5536 (AMD Geode companion chip)" 26393db446aSBoris Brezillon depends on X86_32 26493db446aSBoris Brezillon depends on !UML && HAS_IOMEM 26593db446aSBoris Brezillon help 26693db446aSBoris Brezillon The CS553x companion chips for the AMD Geode processor 26793db446aSBoris Brezillon include NAND flash controllers with built-in hardware ECC 26893db446aSBoris Brezillon capabilities; enabling this option will allow you to use 26993db446aSBoris Brezillon these. The driver will check the MSRs to verify that the 27093db446aSBoris Brezillon controller is enabled for NAND, and currently requires that 27193db446aSBoris Brezillon the controller be in MMIO mode. 27293db446aSBoris Brezillon 27393db446aSBoris Brezillon If you say "m", the module will be called cs553x_nand. 27493db446aSBoris Brezillon 27593db446aSBoris Brezillonconfig MTD_NAND_ATMEL 27693db446aSBoris Brezillon tristate "Support for NAND Flash / SmartMedia on AT91" 27793db446aSBoris Brezillon depends on ARCH_AT91 27893db446aSBoris Brezillon select MFD_ATMEL_SMC 27993db446aSBoris Brezillon help 28093db446aSBoris Brezillon Enables support for NAND Flash / Smart Media Card interface 28193db446aSBoris Brezillon on Atmel AT91 processors. 28293db446aSBoris Brezillon 28393db446aSBoris Brezillonconfig MTD_NAND_MARVELL 28493db446aSBoris Brezillon tristate "NAND controller support on Marvell boards" 28593db446aSBoris Brezillon depends on PXA3xx || ARCH_MMP || PLAT_ORION || ARCH_MVEBU || \ 28693db446aSBoris Brezillon COMPILE_TEST 2877db782bcSGeert Uytterhoeven depends on HAS_IOMEM 28893db446aSBoris Brezillon help 28993db446aSBoris Brezillon This enables the NAND flash controller driver for Marvell boards, 29093db446aSBoris Brezillon including: 29193db446aSBoris Brezillon - PXA3xx processors (NFCv1) 29293db446aSBoris Brezillon - 32-bit Armada platforms (XP, 37x, 38x, 39x) (NFCv2) 29393db446aSBoris Brezillon - 64-bit Aramda platforms (7k, 8k) (NFCv2) 29493db446aSBoris Brezillon 29593db446aSBoris Brezillonconfig MTD_NAND_SLC_LPC32XX 29693db446aSBoris Brezillon tristate "NXP LPC32xx SLC Controller" 29793db446aSBoris Brezillon depends on ARCH_LPC32XX 29893db446aSBoris Brezillon help 29993db446aSBoris Brezillon Enables support for NXP's LPC32XX SLC (i.e. for Single Level Cell 30093db446aSBoris Brezillon chips) NAND controller. This is the default for the PHYTEC 3250 30193db446aSBoris Brezillon reference board which contains a NAND256R3A2CZA6 chip. 30293db446aSBoris Brezillon 30393db446aSBoris Brezillon Please check the actual NAND chip connected and its support 30493db446aSBoris Brezillon by the SLC NAND controller. 30593db446aSBoris Brezillon 30693db446aSBoris Brezillonconfig MTD_NAND_MLC_LPC32XX 30793db446aSBoris Brezillon tristate "NXP LPC32xx MLC Controller" 30893db446aSBoris Brezillon depends on ARCH_LPC32XX 30993db446aSBoris Brezillon help 31093db446aSBoris Brezillon Uses the LPC32XX MLC (i.e. for Multi Level Cell chips) NAND 31193db446aSBoris Brezillon controller. This is the default for the WORK92105 controller 31293db446aSBoris Brezillon board. 31393db446aSBoris Brezillon 31493db446aSBoris Brezillon Please check the actual NAND chip connected and its support 31593db446aSBoris Brezillon by the MLC NAND controller. 31693db446aSBoris Brezillon 31793db446aSBoris Brezillonconfig MTD_NAND_CM_X270 31893db446aSBoris Brezillon tristate "Support for NAND Flash on CM-X270 modules" 31993db446aSBoris Brezillon depends on MACH_ARMCORE 32093db446aSBoris Brezillon 32193db446aSBoris Brezillonconfig MTD_NAND_PASEMI 32293db446aSBoris Brezillon tristate "NAND support for PA Semi PWRficient" 32393db446aSBoris Brezillon depends on PPC_PASEMI 32493db446aSBoris Brezillon help 32593db446aSBoris Brezillon Enables support for NAND Flash interface on PA Semi PWRficient 32693db446aSBoris Brezillon based boards 32793db446aSBoris Brezillon 32893db446aSBoris Brezillonconfig MTD_NAND_TMIO 32993db446aSBoris Brezillon tristate "NAND Flash device on Toshiba Mobile IO Controller" 33093db446aSBoris Brezillon depends on MFD_TMIO 33193db446aSBoris Brezillon help 33293db446aSBoris Brezillon Support for NAND flash connected to a Toshiba Mobile IO 33393db446aSBoris Brezillon Controller in some PDAs, including the Sharp SL6000x. 33493db446aSBoris Brezillon 33593db446aSBoris Brezillonconfig MTD_NAND_NANDSIM 33693db446aSBoris Brezillon tristate "Support for NAND Flash Simulator" 33793db446aSBoris Brezillon help 33893db446aSBoris Brezillon The simulator may simulate various NAND flash chips for the 33993db446aSBoris Brezillon MTD nand layer. 34093db446aSBoris Brezillon 34193db446aSBoris Brezillonconfig MTD_NAND_GPMI_NAND 34293db446aSBoris Brezillon tristate "GPMI NAND Flash Controller driver" 34393db446aSBoris Brezillon depends on MTD_NAND && MXS_DMA 34493db446aSBoris Brezillon help 34593db446aSBoris Brezillon Enables NAND Flash support for IMX23, IMX28 or IMX6. 34693db446aSBoris Brezillon The GPMI controller is very powerful, with the help of BCH 34793db446aSBoris Brezillon module, it can do the hardware ECC. The GPMI supports several 34893db446aSBoris Brezillon NAND flashs at the same time. 34993db446aSBoris Brezillon 35093db446aSBoris Brezillonconfig MTD_NAND_BRCMNAND 35193db446aSBoris Brezillon tristate "Broadcom STB NAND controller" 35293db446aSBoris Brezillon depends on ARM || ARM64 || MIPS 35393db446aSBoris Brezillon help 35493db446aSBoris Brezillon Enables the Broadcom NAND controller driver. The controller was 35593db446aSBoris Brezillon originally designed for Set-Top Box but is used on various BCM7xxx, 35693db446aSBoris Brezillon BCM3xxx, BCM63xxx, iProc/Cygnus and more. 35793db446aSBoris Brezillon 35893db446aSBoris Brezillonconfig MTD_NAND_BCM47XXNFLASH 35993db446aSBoris Brezillon tristate "Support for NAND flash on BCM4706 BCMA bus" 36093db446aSBoris Brezillon depends on BCMA_NFLASH 36193db446aSBoris Brezillon help 36293db446aSBoris Brezillon BCMA bus can have various flash memories attached, they are 36393db446aSBoris Brezillon registered by bcma as platform devices. This enables driver for 36493db446aSBoris Brezillon NAND flash memories. For now only BCM4706 is supported. 36593db446aSBoris Brezillon 36693db446aSBoris Brezillonconfig MTD_NAND_PLATFORM 36793db446aSBoris Brezillon tristate "Support for generic platform NAND driver" 36893db446aSBoris Brezillon depends on HAS_IOMEM 36993db446aSBoris Brezillon help 37093db446aSBoris Brezillon This implements a generic NAND driver for on-SOC platform 37193db446aSBoris Brezillon devices. You will need to provide platform-specific functions 37293db446aSBoris Brezillon via platform_data. 37393db446aSBoris Brezillon 37493db446aSBoris Brezillonconfig MTD_NAND_ORION 37593db446aSBoris Brezillon tristate "NAND Flash support for Marvell Orion SoC" 37693db446aSBoris Brezillon depends on PLAT_ORION 37793db446aSBoris Brezillon help 37893db446aSBoris Brezillon This enables the NAND flash controller on Orion machines. 37993db446aSBoris Brezillon 38093db446aSBoris Brezillon No board specific support is done by this driver, each board 38193db446aSBoris Brezillon must advertise a platform_device for the driver to attach. 38293db446aSBoris Brezillon 38393db446aSBoris Brezillonconfig MTD_NAND_OXNAS 38493db446aSBoris Brezillon tristate "NAND Flash support for Oxford Semiconductor SoC" 38593db446aSBoris Brezillon depends on ARCH_OXNAS || COMPILE_TEST 38693db446aSBoris Brezillon depends on HAS_IOMEM 38793db446aSBoris Brezillon help 38893db446aSBoris Brezillon This enables the NAND flash controller on Oxford Semiconductor SoCs. 38993db446aSBoris Brezillon 39093db446aSBoris Brezillonconfig MTD_NAND_FSL_ELBC 39193db446aSBoris Brezillon tristate "NAND support for Freescale eLBC controllers" 39293db446aSBoris Brezillon depends on FSL_SOC 39393db446aSBoris Brezillon select FSL_LBC 39493db446aSBoris Brezillon help 39593db446aSBoris Brezillon Various Freescale chips, including the 8313, include a NAND Flash 39693db446aSBoris Brezillon Controller Module with built-in hardware ECC capabilities. 39793db446aSBoris Brezillon Enabling this option will enable you to use this to control 39893db446aSBoris Brezillon external NAND devices. 39993db446aSBoris Brezillon 40093db446aSBoris Brezillonconfig MTD_NAND_FSL_IFC 40193db446aSBoris Brezillon tristate "NAND support for Freescale IFC controller" 40293db446aSBoris Brezillon depends on FSL_SOC || ARCH_LAYERSCAPE || SOC_LS1021A 40393db446aSBoris Brezillon select FSL_IFC 40493db446aSBoris Brezillon select MEMORY 40593db446aSBoris Brezillon help 40693db446aSBoris Brezillon Various Freescale chips e.g P1010, include a NAND Flash machine 40793db446aSBoris Brezillon with built-in hardware ECC capabilities. 40893db446aSBoris Brezillon Enabling this option will enable you to use this to control 40993db446aSBoris Brezillon external NAND devices. 41093db446aSBoris Brezillon 41193db446aSBoris Brezillonconfig MTD_NAND_FSL_UPM 41293db446aSBoris Brezillon tristate "Support for NAND on Freescale UPM" 41393db446aSBoris Brezillon depends on PPC_83xx || PPC_85xx 41493db446aSBoris Brezillon select FSL_LBC 41593db446aSBoris Brezillon help 41693db446aSBoris Brezillon Enables support for NAND Flash chips wired onto Freescale PowerPC 41793db446aSBoris Brezillon processor localbus with User-Programmable Machine support. 41893db446aSBoris Brezillon 41993db446aSBoris Brezillonconfig MTD_NAND_MPC5121_NFC 42093db446aSBoris Brezillon tristate "MPC5121 built-in NAND Flash Controller support" 42193db446aSBoris Brezillon depends on PPC_MPC512x 42293db446aSBoris Brezillon help 42393db446aSBoris Brezillon This enables the driver for the NAND flash controller on the 42493db446aSBoris Brezillon MPC5121 SoC. 42593db446aSBoris Brezillon 42693db446aSBoris Brezillonconfig MTD_NAND_VF610_NFC 42793db446aSBoris Brezillon tristate "Support for Freescale NFC for VF610/MPC5125" 42893db446aSBoris Brezillon depends on (SOC_VF610 || COMPILE_TEST) 42993db446aSBoris Brezillon depends on HAS_IOMEM 43093db446aSBoris Brezillon help 43193db446aSBoris Brezillon Enables support for NAND Flash Controller on some Freescale 43293db446aSBoris Brezillon processors like the VF610, MPC5125, MCF54418 or Kinetis K70. 43393db446aSBoris Brezillon The driver supports a maximum 2k page size. With 2k pages and 43493db446aSBoris Brezillon 64 bytes or more of OOB, hardware ECC with up to 32-bit error 43593db446aSBoris Brezillon correction is supported. Hardware ECC is only enabled through 43693db446aSBoris Brezillon device tree. 43793db446aSBoris Brezillon 43893db446aSBoris Brezillonconfig MTD_NAND_MXC 43993db446aSBoris Brezillon tristate "MXC NAND support" 44093db446aSBoris Brezillon depends on ARCH_MXC 44193db446aSBoris Brezillon help 44293db446aSBoris Brezillon This enables the driver for the NAND flash controller on the 44393db446aSBoris Brezillon MXC processors. 44493db446aSBoris Brezillon 44593db446aSBoris Brezillonconfig MTD_NAND_SH_FLCTL 44693db446aSBoris Brezillon tristate "Support for NAND on Renesas SuperH FLCTL" 44793db446aSBoris Brezillon depends on SUPERH || COMPILE_TEST 44893db446aSBoris Brezillon depends on HAS_IOMEM 44993db446aSBoris Brezillon help 45093db446aSBoris Brezillon Several Renesas SuperH CPU has FLCTL. This option enables support 45193db446aSBoris Brezillon for NAND Flash using FLCTL. 45293db446aSBoris Brezillon 45393db446aSBoris Brezillonconfig MTD_NAND_DAVINCI 45493db446aSBoris Brezillon tristate "Support NAND on DaVinci/Keystone SoC" 45593db446aSBoris Brezillon depends on ARCH_DAVINCI || (ARCH_KEYSTONE && TI_AEMIF) 45693db446aSBoris Brezillon help 45793db446aSBoris Brezillon Enable the driver for NAND flash chips on Texas Instruments 45893db446aSBoris Brezillon DaVinci/Keystone processors. 45993db446aSBoris Brezillon 46093db446aSBoris Brezillonconfig MTD_NAND_TXX9NDFMC 46193db446aSBoris Brezillon tristate "NAND Flash support for TXx9 SoC" 46293db446aSBoris Brezillon depends on SOC_TX4938 || SOC_TX4939 46393db446aSBoris Brezillon help 46493db446aSBoris Brezillon This enables the NAND flash controller on the TXx9 SoCs. 46593db446aSBoris Brezillon 46693db446aSBoris Brezillonconfig MTD_NAND_SOCRATES 46793db446aSBoris Brezillon tristate "Support for NAND on Socrates board" 46893db446aSBoris Brezillon depends on SOCRATES 46993db446aSBoris Brezillon help 47093db446aSBoris Brezillon Enables support for NAND Flash chips wired onto Socrates board. 47193db446aSBoris Brezillon 47293db446aSBoris Brezillonconfig MTD_NAND_NUC900 47393db446aSBoris Brezillon tristate "Support for NAND on Nuvoton NUC9xx/w90p910 evaluation boards." 47493db446aSBoris Brezillon depends on ARCH_W90X900 47593db446aSBoris Brezillon help 47693db446aSBoris Brezillon This enables the driver for the NAND Flash on evaluation board based 47793db446aSBoris Brezillon on w90p910 / NUC9xx. 47893db446aSBoris Brezillon 47993db446aSBoris Brezillonconfig MTD_NAND_JZ4740 48093db446aSBoris Brezillon tristate "Support for JZ4740 SoC NAND controller" 48193db446aSBoris Brezillon depends on MACH_JZ4740 48293db446aSBoris Brezillon help 48393db446aSBoris Brezillon Enables support for NAND Flash on JZ4740 SoC based boards. 48493db446aSBoris Brezillon 48593db446aSBoris Brezillonconfig MTD_NAND_JZ4780 48693db446aSBoris Brezillon tristate "Support for NAND on JZ4780 SoC" 48793db446aSBoris Brezillon depends on MACH_JZ4780 && JZ4780_NEMC 48893db446aSBoris Brezillon help 48993db446aSBoris Brezillon Enables support for NAND Flash connected to the NEMC on JZ4780 SoC 49093db446aSBoris Brezillon based boards, using the BCH controller for hardware error correction. 49193db446aSBoris Brezillon 49293db446aSBoris Brezillonconfig MTD_NAND_FSMC 49393db446aSBoris Brezillon tristate "Support for NAND on ST Micros FSMC" 49493db446aSBoris Brezillon depends on OF 49593db446aSBoris Brezillon depends on PLAT_SPEAR || ARCH_NOMADIK || ARCH_U8500 || MACH_U300 49693db446aSBoris Brezillon help 49793db446aSBoris Brezillon Enables support for NAND Flash chips on the ST Microelectronics 49893db446aSBoris Brezillon Flexible Static Memory Controller (FSMC) 49993db446aSBoris Brezillon 50093db446aSBoris Brezillonconfig MTD_NAND_XWAY 50193db446aSBoris Brezillon bool "Support for NAND on Lantiq XWAY SoC" 50293db446aSBoris Brezillon depends on LANTIQ && SOC_TYPE_XWAY 50393db446aSBoris Brezillon help 50493db446aSBoris Brezillon Enables support for NAND Flash chips on Lantiq XWAY SoCs. NAND is attached 50593db446aSBoris Brezillon to the External Bus Unit (EBU). 50693db446aSBoris Brezillon 50793db446aSBoris Brezillonconfig MTD_NAND_SUNXI 50893db446aSBoris Brezillon tristate "Support for NAND on Allwinner SoCs" 50993db446aSBoris Brezillon depends on ARCH_SUNXI 51093db446aSBoris Brezillon help 51193db446aSBoris Brezillon Enables support for NAND Flash chips on Allwinner SoCs. 51293db446aSBoris Brezillon 51393db446aSBoris Brezillonconfig MTD_NAND_HISI504 51493db446aSBoris Brezillon tristate "Support for NAND controller on Hisilicon SoC Hip04" 51593db446aSBoris Brezillon depends on ARCH_HISI || COMPILE_TEST 51693db446aSBoris Brezillon help 51793db446aSBoris Brezillon Enables support for NAND controller on Hisilicon SoC Hip04. 51893db446aSBoris Brezillon 51993db446aSBoris Brezillonconfig MTD_NAND_QCOM 52093db446aSBoris Brezillon tristate "Support for NAND on QCOM SoCs" 52193db446aSBoris Brezillon depends on ARCH_QCOM 52293db446aSBoris Brezillon help 52393db446aSBoris Brezillon Enables support for NAND flash chips on SoCs containing the EBI2 NAND 52493db446aSBoris Brezillon controller. This controller is found on IPQ806x SoC. 52593db446aSBoris Brezillon 52693db446aSBoris Brezillonconfig MTD_NAND_MTK 52793db446aSBoris Brezillon tristate "Support for NAND controller on MTK SoCs" 52893db446aSBoris Brezillon depends on ARCH_MEDIATEK || COMPILE_TEST 52993db446aSBoris Brezillon help 53093db446aSBoris Brezillon Enables support for NAND controller on MTK SoCs. 53193db446aSBoris Brezillon This controller is found on mt27xx, mt81xx, mt65xx SoCs. 53293db446aSBoris Brezillon 533*d7d9f8ecSStefan Agnerconfig MTD_NAND_TEGRA 534*d7d9f8ecSStefan Agner tristate "Support for NAND controller on NVIDIA Tegra" 535*d7d9f8ecSStefan Agner depends on ARCH_TEGRA || COMPILE_TEST 536*d7d9f8ecSStefan Agner help 537*d7d9f8ecSStefan Agner Enables support for NAND flash controller on NVIDIA Tegra SoC. 538*d7d9f8ecSStefan Agner The driver has been developed and tested on a Tegra 2 SoC. DMA 539*d7d9f8ecSStefan Agner support, raw read/write page as well as HW ECC read/write page 540*d7d9f8ecSStefan Agner is supported. Extra OOB bytes when using HW ECC are currently 541*d7d9f8ecSStefan Agner not supported. 542*d7d9f8ecSStefan Agner 54393db446aSBoris Brezillonendif # MTD_NAND 544