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" 73fbb080a1SBoris Brezillon depends on MACH_AMS_DELTA || COMPILE_TEST 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" 8031ac1a53SBoris Brezillon depends on ARCH_OMAP2PLUS || ARCH_KEYSTONE || COMPILE_TEST 8131ac1a53SBoris Brezillon depends on HAS_IOMEM 8293db446aSBoris Brezillon help 8393db446aSBoris Brezillon Support for NAND flash on Texas Instruments OMAP2, OMAP3, OMAP4 8493db446aSBoris Brezillon and Keystone platforms. 8593db446aSBoris Brezillon 8693db446aSBoris Brezillonconfig MTD_NAND_OMAP_BCH 8793db446aSBoris Brezillon depends on MTD_NAND_OMAP2 8893db446aSBoris Brezillon bool "Support hardware based BCH error correction" 8993db446aSBoris Brezillon default n 9093db446aSBoris Brezillon select BCH 9193db446aSBoris Brezillon help 9293db446aSBoris Brezillon This config enables the ELM hardware engine, which can be used to 9393db446aSBoris Brezillon locate and correct errors when using BCH ECC scheme. This offloads 9493db446aSBoris Brezillon the cpu from doing ECC error searching and correction. However some 9593db446aSBoris Brezillon legacy OMAP families like OMAP2xxx, OMAP3xxx do not have ELM engine 9693db446aSBoris Brezillon so this is optional for them. 9793db446aSBoris Brezillon 9893db446aSBoris Brezillonconfig MTD_NAND_OMAP_BCH_BUILD 9993db446aSBoris Brezillon def_tristate MTD_NAND_OMAP2 && MTD_NAND_OMAP_BCH 10093db446aSBoris Brezillon 10193db446aSBoris Brezillonconfig MTD_NAND_RICOH 10293db446aSBoris Brezillon tristate "Ricoh xD card reader" 10393db446aSBoris Brezillon default n 10493db446aSBoris Brezillon depends on PCI 10593db446aSBoris Brezillon select MTD_SM_COMMON 10693db446aSBoris Brezillon help 10793db446aSBoris Brezillon Enable support for Ricoh R5C852 xD card reader 10893db446aSBoris Brezillon You also need to enable ether 10993db446aSBoris Brezillon NAND SSFDC (SmartMedia) read only translation layer' or new 11093db446aSBoris Brezillon expermental, readwrite 11193db446aSBoris Brezillon 'SmartMedia/xD new translation layer' 11293db446aSBoris Brezillon 11393db446aSBoris Brezillonconfig MTD_NAND_AU1550 11493db446aSBoris Brezillon tristate "Au1550/1200 NAND support" 11593db446aSBoris Brezillon depends on MIPS_ALCHEMY 11693db446aSBoris Brezillon help 11793db446aSBoris Brezillon This enables the driver for the NAND flash controller on the 11893db446aSBoris Brezillon AMD/Alchemy 1550 SOC. 11993db446aSBoris Brezillon 12093db446aSBoris Brezillonconfig MTD_NAND_S3C2410 12193db446aSBoris Brezillon tristate "NAND Flash support for Samsung S3C SoCs" 12293db446aSBoris Brezillon depends on ARCH_S3C24XX || ARCH_S3C64XX 12393db446aSBoris Brezillon help 12493db446aSBoris Brezillon This enables the NAND flash controller on the S3C24xx and S3C64xx 12593db446aSBoris Brezillon SoCs 12693db446aSBoris Brezillon 12793db446aSBoris Brezillon No board specific support is done by this driver, each board 12893db446aSBoris Brezillon must advertise a platform_device for the driver to attach. 12993db446aSBoris Brezillon 13093db446aSBoris Brezillonconfig MTD_NAND_S3C2410_DEBUG 13193db446aSBoris Brezillon bool "Samsung S3C NAND driver debug" 13293db446aSBoris Brezillon depends on MTD_NAND_S3C2410 13393db446aSBoris Brezillon help 13493db446aSBoris Brezillon Enable debugging of the S3C NAND driver 13593db446aSBoris Brezillon 13693db446aSBoris Brezillonconfig MTD_NAND_NDFC 13793db446aSBoris Brezillon tristate "NDFC NanD Flash Controller" 13893db446aSBoris Brezillon depends on 4xx 13993db446aSBoris Brezillon select MTD_NAND_ECC_SMC 14093db446aSBoris Brezillon help 14193db446aSBoris Brezillon NDFC Nand Flash Controllers are integrated in IBM/AMCC's 4xx SoCs 14293db446aSBoris Brezillon 14393db446aSBoris Brezillonconfig MTD_NAND_S3C2410_CLKSTOP 14493db446aSBoris Brezillon bool "Samsung S3C NAND IDLE clock stop" 14593db446aSBoris Brezillon depends on MTD_NAND_S3C2410 14693db446aSBoris Brezillon default n 14793db446aSBoris Brezillon help 14893db446aSBoris Brezillon Stop the clock to the NAND controller when there is no chip 14993db446aSBoris Brezillon selected to save power. This will mean there is a small delay 15093db446aSBoris Brezillon when the is NAND chip selected or released, but will save 15193db446aSBoris Brezillon approximately 5mA of power when there is nothing happening. 15293db446aSBoris Brezillon 15393db446aSBoris Brezillonconfig MTD_NAND_TANGO 15493db446aSBoris Brezillon tristate "NAND Flash support for Tango chips" 15593db446aSBoris Brezillon depends on ARCH_TANGO || COMPILE_TEST 15645e9f40fSBoris Brezillon depends on HAS_IOMEM 15793db446aSBoris Brezillon help 15893db446aSBoris Brezillon Enables the NAND Flash controller on Tango chips. 15993db446aSBoris Brezillon 16093db446aSBoris Brezillonconfig MTD_NAND_DISKONCHIP 16193db446aSBoris Brezillon tristate "DiskOnChip 2000, Millennium and Millennium Plus (NAND reimplementation)" 16293db446aSBoris Brezillon depends on HAS_IOMEM 16393db446aSBoris Brezillon select REED_SOLOMON 16493db446aSBoris Brezillon select REED_SOLOMON_DEC16 16593db446aSBoris Brezillon help 16693db446aSBoris Brezillon This is a reimplementation of M-Systems DiskOnChip 2000, 16793db446aSBoris Brezillon Millennium and Millennium Plus as a standard NAND device driver, 16893db446aSBoris Brezillon as opposed to the earlier self-contained MTD device drivers. 16993db446aSBoris Brezillon This should enable, among other things, proper JFFS2 operation on 17093db446aSBoris Brezillon these devices. 17193db446aSBoris Brezillon 17293db446aSBoris Brezillonconfig MTD_NAND_DISKONCHIP_PROBE_ADVANCED 17393db446aSBoris Brezillon bool "Advanced detection options for DiskOnChip" 17493db446aSBoris Brezillon depends on MTD_NAND_DISKONCHIP 17593db446aSBoris Brezillon help 17693db446aSBoris Brezillon This option allows you to specify nonstandard address at which to 17793db446aSBoris Brezillon probe for a DiskOnChip, or to change the detection options. You 17893db446aSBoris Brezillon are unlikely to need any of this unless you are using LinuxBIOS. 17993db446aSBoris Brezillon Say 'N'. 18093db446aSBoris Brezillon 18193db446aSBoris Brezillonconfig MTD_NAND_DISKONCHIP_PROBE_ADDRESS 18293db446aSBoris Brezillon hex "Physical address of DiskOnChip" if MTD_NAND_DISKONCHIP_PROBE_ADVANCED 18393db446aSBoris Brezillon depends on MTD_NAND_DISKONCHIP 18493db446aSBoris Brezillon default "0" 185d3691813SMiquel Raynal help 18693db446aSBoris Brezillon By default, the probe for DiskOnChip devices will look for a 18793db446aSBoris Brezillon DiskOnChip at every multiple of 0x2000 between 0xC8000 and 0xEE000. 18893db446aSBoris Brezillon This option allows you to specify a single address at which to probe 18993db446aSBoris Brezillon for the device, which is useful if you have other devices in that 19093db446aSBoris Brezillon range which get upset when they are probed. 19193db446aSBoris Brezillon 19293db446aSBoris Brezillon (Note that on PowerPC, the normal probe will only check at 19393db446aSBoris Brezillon 0xE4000000.) 19493db446aSBoris Brezillon 19593db446aSBoris Brezillon Normally, you should leave this set to zero, to allow the probe at 19693db446aSBoris Brezillon the normal addresses. 19793db446aSBoris Brezillon 19893db446aSBoris Brezillonconfig MTD_NAND_DISKONCHIP_PROBE_HIGH 19993db446aSBoris Brezillon bool "Probe high addresses" 20093db446aSBoris Brezillon depends on MTD_NAND_DISKONCHIP_PROBE_ADVANCED 20193db446aSBoris Brezillon help 20293db446aSBoris Brezillon By default, the probe for DiskOnChip devices will look for a 20393db446aSBoris Brezillon DiskOnChip at every multiple of 0x2000 between 0xC8000 and 0xEE000. 20493db446aSBoris Brezillon This option changes to make it probe between 0xFFFC8000 and 20593db446aSBoris Brezillon 0xFFFEE000. Unless you are using LinuxBIOS, this is unlikely to be 20693db446aSBoris Brezillon useful to you. Say 'N'. 20793db446aSBoris Brezillon 20893db446aSBoris Brezillonconfig MTD_NAND_DISKONCHIP_BBTWRITE 20993db446aSBoris Brezillon bool "Allow BBT writes on DiskOnChip Millennium and 2000TSOP" 21093db446aSBoris Brezillon depends on MTD_NAND_DISKONCHIP 21193db446aSBoris Brezillon help 21293db446aSBoris Brezillon On DiskOnChip devices shipped with the INFTL filesystem (Millennium 21393db446aSBoris Brezillon and 2000 TSOP/Alon), Linux reserves some space at the end of the 21493db446aSBoris Brezillon device for the Bad Block Table (BBT). If you have existing INFTL 21593db446aSBoris Brezillon data on your device (created by non-Linux tools such as M-Systems' 21693db446aSBoris Brezillon DOS drivers), your data might overlap the area Linux wants to use for 21793db446aSBoris Brezillon the BBT. If this is a concern for you, leave this option disabled and 21893db446aSBoris Brezillon Linux will not write BBT data into this area. 21993db446aSBoris Brezillon The downside of leaving this option disabled is that if bad blocks 22093db446aSBoris Brezillon are detected by Linux, they will not be recorded in the BBT, which 22193db446aSBoris Brezillon could cause future problems. 22293db446aSBoris Brezillon Once you enable this option, new filesystems (INFTL or others, created 22393db446aSBoris Brezillon in Linux or other operating systems) will not use the reserved area. 22493db446aSBoris Brezillon The only reason not to enable this option is to prevent damage to 22593db446aSBoris Brezillon preexisting filesystems. 22693db446aSBoris Brezillon Even if you leave this disabled, you can enable BBT writes at module 22793db446aSBoris Brezillon load time (assuming you build diskonchip as a module) with the module 22893db446aSBoris Brezillon parameter "inftl_bbt_write=1". 22993db446aSBoris Brezillon 23093db446aSBoris Brezillonconfig MTD_NAND_SHARPSL 23193db446aSBoris Brezillon tristate "Support for NAND Flash on Sharp SL Series (C7xx + others)" 23218331b98SBoris Brezillon depends on ARCH_PXA || COMPILE_TEST 23318331b98SBoris Brezillon depends on HAS_IOMEM 23493db446aSBoris Brezillon 23593db446aSBoris Brezillonconfig MTD_NAND_CAFE 23693db446aSBoris Brezillon tristate "NAND support for OLPC CAFÉ chip" 23793db446aSBoris Brezillon depends on PCI 23893db446aSBoris Brezillon select REED_SOLOMON 23993db446aSBoris Brezillon select REED_SOLOMON_DEC16 24093db446aSBoris Brezillon help 24193db446aSBoris Brezillon Use NAND flash attached to the CAFÉ chip designed for the OLPC 24293db446aSBoris Brezillon laptop. 24393db446aSBoris Brezillon 24493db446aSBoris Brezillonconfig MTD_NAND_CS553X 24593db446aSBoris Brezillon tristate "NAND support for CS5535/CS5536 (AMD Geode companion chip)" 24693db446aSBoris Brezillon depends on X86_32 24793db446aSBoris Brezillon depends on !UML && HAS_IOMEM 24893db446aSBoris Brezillon help 24993db446aSBoris Brezillon The CS553x companion chips for the AMD Geode processor 25093db446aSBoris Brezillon include NAND flash controllers with built-in hardware ECC 25193db446aSBoris Brezillon capabilities; enabling this option will allow you to use 25293db446aSBoris Brezillon these. The driver will check the MSRs to verify that the 25393db446aSBoris Brezillon controller is enabled for NAND, and currently requires that 25493db446aSBoris Brezillon the controller be in MMIO mode. 25593db446aSBoris Brezillon 25693db446aSBoris Brezillon If you say "m", the module will be called cs553x_nand. 25793db446aSBoris Brezillon 25893db446aSBoris Brezillonconfig MTD_NAND_ATMEL 25993db446aSBoris Brezillon tristate "Support for NAND Flash / SmartMedia on AT91" 26088a40e7dSBoris Brezillon depends on ARCH_AT91 || COMPILE_TEST 26188a40e7dSBoris Brezillon depends on HAS_IOMEM 2629805d4bcSBoris Brezillon select GENERIC_ALLOCATOR 26393db446aSBoris Brezillon select MFD_ATMEL_SMC 26493db446aSBoris Brezillon help 26593db446aSBoris Brezillon Enables support for NAND Flash / Smart Media Card interface 26693db446aSBoris Brezillon on Atmel AT91 processors. 26793db446aSBoris Brezillon 26893db446aSBoris Brezillonconfig MTD_NAND_MARVELL 26993db446aSBoris Brezillon tristate "NAND controller support on Marvell boards" 27093db446aSBoris Brezillon depends on PXA3xx || ARCH_MMP || PLAT_ORION || ARCH_MVEBU || \ 27193db446aSBoris Brezillon COMPILE_TEST 2727db782bcSGeert Uytterhoeven depends on HAS_IOMEM 27393db446aSBoris Brezillon help 27493db446aSBoris Brezillon This enables the NAND flash controller driver for Marvell boards, 27593db446aSBoris Brezillon including: 27693db446aSBoris Brezillon - PXA3xx processors (NFCv1) 27793db446aSBoris Brezillon - 32-bit Armada platforms (XP, 37x, 38x, 39x) (NFCv2) 27893db446aSBoris Brezillon - 64-bit Aramda platforms (7k, 8k) (NFCv2) 27993db446aSBoris Brezillon 28093db446aSBoris Brezillonconfig MTD_NAND_SLC_LPC32XX 28193db446aSBoris Brezillon tristate "NXP LPC32xx SLC Controller" 282ee70e5e7SBoris Brezillon depends on ARCH_LPC32XX || COMPILE_TEST 283ee70e5e7SBoris Brezillon depends on HAS_IOMEM 28493db446aSBoris Brezillon help 28593db446aSBoris Brezillon Enables support for NXP's LPC32XX SLC (i.e. for Single Level Cell 28693db446aSBoris Brezillon chips) NAND controller. This is the default for the PHYTEC 3250 28793db446aSBoris Brezillon reference board which contains a NAND256R3A2CZA6 chip. 28893db446aSBoris Brezillon 28993db446aSBoris Brezillon Please check the actual NAND chip connected and its support 29093db446aSBoris Brezillon by the SLC NAND controller. 29193db446aSBoris Brezillon 29293db446aSBoris Brezillonconfig MTD_NAND_MLC_LPC32XX 29393db446aSBoris Brezillon tristate "NXP LPC32xx MLC Controller" 294ee70e5e7SBoris Brezillon depends on ARCH_LPC32XX || COMPILE_TEST 295ee70e5e7SBoris Brezillon depends on HAS_IOMEM 29693db446aSBoris Brezillon help 29793db446aSBoris Brezillon Uses the LPC32XX MLC (i.e. for Multi Level Cell chips) NAND 29893db446aSBoris Brezillon controller. This is the default for the WORK92105 controller 29993db446aSBoris Brezillon board. 30093db446aSBoris Brezillon 30193db446aSBoris Brezillon Please check the actual NAND chip connected and its support 30293db446aSBoris Brezillon by the MLC NAND controller. 30393db446aSBoris Brezillon 30493db446aSBoris Brezillonconfig MTD_NAND_CM_X270 30593db446aSBoris Brezillon tristate "Support for NAND Flash on CM-X270 modules" 30693db446aSBoris Brezillon depends on MACH_ARMCORE 30793db446aSBoris Brezillon 30893db446aSBoris Brezillonconfig MTD_NAND_PASEMI 30993db446aSBoris Brezillon tristate "NAND support for PA Semi PWRficient" 31093db446aSBoris Brezillon depends on PPC_PASEMI 31193db446aSBoris Brezillon help 31293db446aSBoris Brezillon Enables support for NAND Flash interface on PA Semi PWRficient 31393db446aSBoris Brezillon based boards 31493db446aSBoris Brezillon 31593db446aSBoris Brezillonconfig MTD_NAND_TMIO 31693db446aSBoris Brezillon tristate "NAND Flash device on Toshiba Mobile IO Controller" 31793db446aSBoris Brezillon depends on MFD_TMIO 31893db446aSBoris Brezillon help 31993db446aSBoris Brezillon Support for NAND flash connected to a Toshiba Mobile IO 32093db446aSBoris Brezillon Controller in some PDAs, including the Sharp SL6000x. 32193db446aSBoris Brezillon 32293db446aSBoris Brezillonconfig MTD_NAND_NANDSIM 32393db446aSBoris Brezillon tristate "Support for NAND Flash Simulator" 32493db446aSBoris Brezillon help 32593db446aSBoris Brezillon The simulator may simulate various NAND flash chips for the 32693db446aSBoris Brezillon MTD nand layer. 32793db446aSBoris Brezillon 32893db446aSBoris Brezillonconfig MTD_NAND_GPMI_NAND 32993db446aSBoris Brezillon tristate "GPMI NAND Flash Controller driver" 3304d54df43SBoris Brezillon depends on MXS_DMA 33193db446aSBoris Brezillon help 33293db446aSBoris Brezillon Enables NAND Flash support for IMX23, IMX28 or IMX6. 33393db446aSBoris Brezillon The GPMI controller is very powerful, with the help of BCH 33493db446aSBoris Brezillon module, it can do the hardware ECC. The GPMI supports several 33593db446aSBoris Brezillon NAND flashs at the same time. 33693db446aSBoris Brezillon 33793db446aSBoris Brezillonconfig MTD_NAND_BRCMNAND 33893db446aSBoris Brezillon tristate "Broadcom STB NAND controller" 3390beb4872SBoris Brezillon depends on ARM || ARM64 || MIPS || COMPILE_TEST 3400beb4872SBoris Brezillon depends on HAS_IOMEM 34193db446aSBoris Brezillon help 34293db446aSBoris Brezillon Enables the Broadcom NAND controller driver. The controller was 34393db446aSBoris Brezillon originally designed for Set-Top Box but is used on various BCM7xxx, 34493db446aSBoris Brezillon BCM3xxx, BCM63xxx, iProc/Cygnus and more. 34593db446aSBoris Brezillon 34693db446aSBoris Brezillonconfig MTD_NAND_BCM47XXNFLASH 34793db446aSBoris Brezillon tristate "Support for NAND flash on BCM4706 BCMA bus" 34893db446aSBoris Brezillon depends on BCMA_NFLASH 349c2204734SArnd Bergmann depends on BCMA 35093db446aSBoris Brezillon help 35193db446aSBoris Brezillon BCMA bus can have various flash memories attached, they are 35293db446aSBoris Brezillon registered by bcma as platform devices. This enables driver for 35393db446aSBoris Brezillon NAND flash memories. For now only BCM4706 is supported. 35493db446aSBoris Brezillon 35593db446aSBoris Brezillonconfig MTD_NAND_PLATFORM 35693db446aSBoris Brezillon tristate "Support for generic platform NAND driver" 35793db446aSBoris Brezillon depends on HAS_IOMEM 35893db446aSBoris Brezillon help 35993db446aSBoris Brezillon This implements a generic NAND driver for on-SOC platform 36093db446aSBoris Brezillon devices. You will need to provide platform-specific functions 36193db446aSBoris Brezillon via platform_data. 36293db446aSBoris Brezillon 36393db446aSBoris Brezillonconfig MTD_NAND_ORION 36493db446aSBoris Brezillon tristate "NAND Flash support for Marvell Orion SoC" 36593db446aSBoris Brezillon depends on PLAT_ORION 36693db446aSBoris Brezillon help 36793db446aSBoris Brezillon This enables the NAND flash controller on Orion machines. 36893db446aSBoris Brezillon 36993db446aSBoris Brezillon No board specific support is done by this driver, each board 37093db446aSBoris Brezillon must advertise a platform_device for the driver to attach. 37193db446aSBoris Brezillon 37293db446aSBoris Brezillonconfig MTD_NAND_OXNAS 37393db446aSBoris Brezillon tristate "NAND Flash support for Oxford Semiconductor SoC" 37493db446aSBoris Brezillon depends on ARCH_OXNAS || COMPILE_TEST 37593db446aSBoris Brezillon depends on HAS_IOMEM 37693db446aSBoris Brezillon help 37793db446aSBoris Brezillon This enables the NAND flash controller on Oxford Semiconductor SoCs. 37893db446aSBoris Brezillon 37993db446aSBoris Brezillonconfig MTD_NAND_FSL_ELBC 38093db446aSBoris Brezillon tristate "NAND support for Freescale eLBC controllers" 38193db446aSBoris Brezillon depends on FSL_SOC 38293db446aSBoris Brezillon select FSL_LBC 38393db446aSBoris Brezillon help 38493db446aSBoris Brezillon Various Freescale chips, including the 8313, include a NAND Flash 38593db446aSBoris Brezillon Controller Module with built-in hardware ECC capabilities. 38693db446aSBoris Brezillon Enabling this option will enable you to use this to control 38793db446aSBoris Brezillon external NAND devices. 38893db446aSBoris Brezillon 38993db446aSBoris Brezillonconfig MTD_NAND_FSL_IFC 39093db446aSBoris Brezillon tristate "NAND support for Freescale IFC controller" 391a6be5051SBoris Brezillon depends on FSL_SOC || ARCH_LAYERSCAPE || SOC_LS1021A || COMPILE_TEST 392a6be5051SBoris Brezillon depends on HAS_IOMEM 39393db446aSBoris Brezillon select FSL_IFC 39493db446aSBoris Brezillon select MEMORY 39593db446aSBoris Brezillon help 39693db446aSBoris Brezillon Various Freescale chips e.g P1010, include a NAND Flash machine 39793db446aSBoris Brezillon with built-in hardware ECC capabilities. 39893db446aSBoris Brezillon Enabling this option will enable you to use this to control 39993db446aSBoris Brezillon external NAND devices. 40093db446aSBoris Brezillon 40193db446aSBoris Brezillonconfig MTD_NAND_FSL_UPM 40293db446aSBoris Brezillon tristate "Support for NAND on Freescale UPM" 40393db446aSBoris Brezillon depends on PPC_83xx || PPC_85xx 40493db446aSBoris Brezillon select FSL_LBC 40593db446aSBoris Brezillon help 40693db446aSBoris Brezillon Enables support for NAND Flash chips wired onto Freescale PowerPC 40793db446aSBoris Brezillon processor localbus with User-Programmable Machine support. 40893db446aSBoris Brezillon 40993db446aSBoris Brezillonconfig MTD_NAND_MPC5121_NFC 41093db446aSBoris Brezillon tristate "MPC5121 built-in NAND Flash Controller support" 41193db446aSBoris Brezillon depends on PPC_MPC512x 41293db446aSBoris Brezillon help 41393db446aSBoris Brezillon This enables the driver for the NAND flash controller on the 41493db446aSBoris Brezillon MPC5121 SoC. 41593db446aSBoris Brezillon 41693db446aSBoris Brezillonconfig MTD_NAND_VF610_NFC 41793db446aSBoris Brezillon tristate "Support for Freescale NFC for VF610/MPC5125" 41893db446aSBoris Brezillon depends on (SOC_VF610 || COMPILE_TEST) 41993db446aSBoris Brezillon depends on HAS_IOMEM 42093db446aSBoris Brezillon help 42193db446aSBoris Brezillon Enables support for NAND Flash Controller on some Freescale 42293db446aSBoris Brezillon processors like the VF610, MPC5125, MCF54418 or Kinetis K70. 42393db446aSBoris Brezillon The driver supports a maximum 2k page size. With 2k pages and 42493db446aSBoris Brezillon 64 bytes or more of OOB, hardware ECC with up to 32-bit error 42593db446aSBoris Brezillon correction is supported. Hardware ECC is only enabled through 42693db446aSBoris Brezillon device tree. 42793db446aSBoris Brezillon 42893db446aSBoris Brezillonconfig MTD_NAND_MXC 42993db446aSBoris Brezillon tristate "MXC NAND support" 430434bc2e1SBoris Brezillon depends on ARCH_MXC || COMPILE_TEST 431434bc2e1SBoris Brezillon depends on HAS_IOMEM 43293db446aSBoris Brezillon help 43393db446aSBoris Brezillon This enables the driver for the NAND flash controller on the 43493db446aSBoris Brezillon MXC processors. 43593db446aSBoris Brezillon 43693db446aSBoris Brezillonconfig MTD_NAND_SH_FLCTL 43793db446aSBoris Brezillon tristate "Support for NAND on Renesas SuperH FLCTL" 43893db446aSBoris Brezillon depends on SUPERH || COMPILE_TEST 43993db446aSBoris Brezillon depends on HAS_IOMEM 44093db446aSBoris Brezillon help 44193db446aSBoris Brezillon Several Renesas SuperH CPU has FLCTL. This option enables support 44293db446aSBoris Brezillon for NAND Flash using FLCTL. 44393db446aSBoris Brezillon 44493db446aSBoris Brezillonconfig MTD_NAND_DAVINCI 44593db446aSBoris Brezillon tristate "Support NAND on DaVinci/Keystone SoC" 446b9221470SBoris Brezillon depends on ARCH_DAVINCI || (ARCH_KEYSTONE && TI_AEMIF) || COMPILE_TEST 447b9221470SBoris Brezillon depends on HAS_IOMEM 44893db446aSBoris Brezillon help 44993db446aSBoris Brezillon Enable the driver for NAND flash chips on Texas Instruments 45093db446aSBoris Brezillon DaVinci/Keystone processors. 45193db446aSBoris Brezillon 45293db446aSBoris Brezillonconfig MTD_NAND_TXX9NDFMC 45393db446aSBoris Brezillon tristate "NAND Flash support for TXx9 SoC" 454eaea2e73SBoris Brezillon depends on SOC_TX4938 || SOC_TX4939 || COMPILE_TEST 455eaea2e73SBoris Brezillon depends on HAS_IOMEM 45693db446aSBoris Brezillon help 45793db446aSBoris Brezillon This enables the NAND flash controller on the TXx9 SoCs. 45893db446aSBoris Brezillon 45993db446aSBoris Brezillonconfig MTD_NAND_SOCRATES 46093db446aSBoris Brezillon tristate "Support for NAND on Socrates board" 46193db446aSBoris Brezillon depends on SOCRATES 46293db446aSBoris Brezillon help 46393db446aSBoris Brezillon Enables support for NAND Flash chips wired onto Socrates board. 46493db446aSBoris Brezillon 46593db446aSBoris Brezillonconfig MTD_NAND_NUC900 46693db446aSBoris Brezillon tristate "Support for NAND on Nuvoton NUC9xx/w90p910 evaluation boards." 467d4de09e5SBoris Brezillon depends on ARCH_W90X900 || COMPILE_TEST 468d4de09e5SBoris Brezillon depends on HAS_IOMEM 46993db446aSBoris Brezillon help 47093db446aSBoris Brezillon This enables the driver for the NAND Flash on evaluation board based 47193db446aSBoris Brezillon on w90p910 / NUC9xx. 47293db446aSBoris Brezillon 47393db446aSBoris Brezillonconfig MTD_NAND_JZ4740 47493db446aSBoris Brezillon tristate "Support for JZ4740 SoC NAND controller" 4756968e07eSBoris Brezillon depends on MACH_JZ4740 || COMPILE_TEST 4766968e07eSBoris Brezillon depends on HAS_IOMEM 47793db446aSBoris Brezillon help 47893db446aSBoris Brezillon Enables support for NAND Flash on JZ4740 SoC based boards. 47993db446aSBoris Brezillon 48093db446aSBoris Brezillonconfig MTD_NAND_JZ4780 48193db446aSBoris Brezillon tristate "Support for NAND on JZ4780 SoC" 482b8f0fadaSBoris Brezillon depends on JZ4780_NEMC 48393db446aSBoris Brezillon help 48493db446aSBoris Brezillon Enables support for NAND Flash connected to the NEMC on JZ4780 SoC 48593db446aSBoris Brezillon based boards, using the BCH controller for hardware error correction. 48693db446aSBoris Brezillon 48793db446aSBoris Brezillonconfig MTD_NAND_FSMC 48893db446aSBoris Brezillon tristate "Support for NAND on ST Micros FSMC" 48917c09ed7SBoris Brezillon depends on OF && HAS_IOMEM 49017c09ed7SBoris Brezillon depends on PLAT_SPEAR || ARCH_NOMADIK || ARCH_U8500 || MACH_U300 || \ 49117c09ed7SBoris Brezillon COMPILE_TEST 49293db446aSBoris Brezillon help 49393db446aSBoris Brezillon Enables support for NAND Flash chips on the ST Microelectronics 49493db446aSBoris Brezillon Flexible Static Memory Controller (FSMC) 49593db446aSBoris Brezillon 49693db446aSBoris Brezillonconfig MTD_NAND_XWAY 49793db446aSBoris Brezillon bool "Support for NAND on Lantiq XWAY SoC" 49893db446aSBoris Brezillon depends on LANTIQ && SOC_TYPE_XWAY 49993db446aSBoris Brezillon help 50093db446aSBoris Brezillon Enables support for NAND Flash chips on Lantiq XWAY SoCs. NAND is attached 50193db446aSBoris Brezillon to the External Bus Unit (EBU). 50293db446aSBoris Brezillon 50393db446aSBoris Brezillonconfig MTD_NAND_SUNXI 50493db446aSBoris Brezillon tristate "Support for NAND on Allwinner SoCs" 505e37db6dfSBoris Brezillon depends on ARCH_SUNXI || COMPILE_TEST 506e37db6dfSBoris Brezillon depends on HAS_IOMEM 50793db446aSBoris Brezillon help 50893db446aSBoris Brezillon Enables support for NAND Flash chips on Allwinner SoCs. 50993db446aSBoris Brezillon 51093db446aSBoris Brezillonconfig MTD_NAND_HISI504 51193db446aSBoris Brezillon tristate "Support for NAND controller on Hisilicon SoC Hip04" 51293db446aSBoris Brezillon depends on ARCH_HISI || COMPILE_TEST 51345e9f40fSBoris Brezillon depends on HAS_IOMEM 51493db446aSBoris Brezillon help 51593db446aSBoris Brezillon Enables support for NAND controller on Hisilicon SoC Hip04. 51693db446aSBoris Brezillon 51793db446aSBoris Brezillonconfig MTD_NAND_QCOM 51893db446aSBoris Brezillon tristate "Support for NAND on QCOM SoCs" 519b2d55fe2SBoris Brezillon depends on ARCH_QCOM || COMPILE_TEST 520b2d55fe2SBoris Brezillon depends on HAS_IOMEM 52193db446aSBoris Brezillon help 52293db446aSBoris Brezillon Enables support for NAND flash chips on SoCs containing the EBI2 NAND 52393db446aSBoris Brezillon controller. This controller is found on IPQ806x SoC. 52493db446aSBoris Brezillon 52593db446aSBoris Brezillonconfig MTD_NAND_MTK 52693db446aSBoris Brezillon tristate "Support for NAND controller on MTK SoCs" 52793db446aSBoris Brezillon depends on ARCH_MEDIATEK || COMPILE_TEST 52845e9f40fSBoris Brezillon depends on HAS_IOMEM 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 533d7d9f8ecSStefan Agnerconfig MTD_NAND_TEGRA 534d7d9f8ecSStefan Agner tristate "Support for NAND controller on NVIDIA Tegra" 535d7d9f8ecSStefan Agner depends on ARCH_TEGRA || COMPILE_TEST 53645e9f40fSBoris Brezillon depends on HAS_IOMEM 537d7d9f8ecSStefan Agner help 538d7d9f8ecSStefan Agner Enables support for NAND flash controller on NVIDIA Tegra SoC. 539d7d9f8ecSStefan Agner The driver has been developed and tested on a Tegra 2 SoC. DMA 540d7d9f8ecSStefan Agner support, raw read/write page as well as HW ECC read/write page 541d7d9f8ecSStefan Agner is supported. Extra OOB bytes when using HW ECC are currently 542d7d9f8ecSStefan Agner not supported. 543d7d9f8ecSStefan Agner 544*2cd457f3SChristophe Kerelloconfig MTD_NAND_STM32_FMC2 545*2cd457f3SChristophe Kerello tristate "Support for NAND controller on STM32MP SoCs" 546*2cd457f3SChristophe Kerello depends on MACH_STM32MP157 || COMPILE_TEST 547*2cd457f3SChristophe Kerello help 548*2cd457f3SChristophe Kerello Enables support for NAND Flash chips on SoCs containing the FMC2 549*2cd457f3SChristophe Kerello NAND controller. This controller is found on STM32MP SoCs. 550*2cd457f3SChristophe Kerello The controller supports a maximum 8k page size and supports 551*2cd457f3SChristophe Kerello a maximum 8-bit correction error per sector of 512 bytes. 552*2cd457f3SChristophe Kerello 55393db446aSBoris Brezillonendif # MTD_NAND 554