CONFIG_MTD_RAW_NAND Raw/Parallel NAND Device Support
- Off
- Module
- Built in
This enables support for accessing all type of raw/parallel NAND flash devices. For further information see <http://www.linux-mtd.infradead.org/doc/nand.html>.
- Depends on
MTD - Selects
MTD_NAND_CORE if MTD - Selects
MTD_NAND_ECC if MTD
If MTD_RAW_NAND
- Depends on
MTD && MTD_RAW_NAND
Raw/parallel NAND flash controllers
- Depends on
MTD && MTD_RAW_NAND
CONFIG_MTD_NAND_DENALI
- Off
- Module
- Built in
- Depends on
MTD && MTD_RAW_NAND
CONFIG_MTD_NAND_DENALI_PCI Denali NAND controller on Intel Moorestown
- Off
- Module
- Built in
Enable the driver for NAND flash on Intel Moorestown, using the Denali NAND controller core.
- Depends on
MTD && MTD_RAW_NAND && PCI - Selects
MTD_NAND_DENALI if MTD && MTD_RAW_NAND && PCI
CONFIG_MTD_NAND_DENALI_DT Denali NAND controller as a DT device
- Off
- Module
- Built in
Enable the driver for NAND flash on platforms using a Denali NAND controller as a DT device.
- Depends on
MTD && MTD_RAW_NAND && HAS_DMA && HAVE_CLK && OF && HAS_IOMEM - Selects
MTD_NAND_DENALI if MTD && MTD_RAW_NAND && HAS_DMA && HAVE_CLK && OF && HAS_IOMEM
CONFIG_MTD_NAND_AMS_DELTA Amstrad E3 NAND controller
- Off
- Module
- Built in
Support for NAND flash on Amstrad E3 (Delta).
- Depends on
MTD && MTD_RAW_NAND && (MACH_AMS_DELTA || COMPILE_TEST)
CONFIG_MTD_NAND_OMAP2 OMAP2, OMAP3, OMAP4 and Keystone NAND controller
- Off
- Module
- Built in
Support for NAND flash on Texas Instruments OMAP2, OMAP3, OMAP4 and Keystone platforms.
- Depends on
MTD && MTD_RAW_NAND && (ARCH_OMAP2PLUS || ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST) && HAS_IOMEM && OMAP_GPMC
If MTD_NAND_OMAP2
CONFIG_MTD_NAND_OMAP_BCH Support hardware based BCH error correction
This config enables the ELM hardware engine, which can be used to locate and correct errors when using BCH ECC scheme. This offloads the cpu from doing ECC error searching and correction. However some legacy OMAP families like OMAP2xxx, OMAP3xxx do not have ELM engine so this is optional for them.
- Depends on
MTD && MTD_RAW_NAND && MTD_NAND_OMAP2 - Selects
BCH if MTD && MTD_RAW_NAND && MTD_NAND_OMAP2
CONFIG_MTD_NAND_OMAP_BCH_BUILD
- Off
- Module
- Built in
- Depends on
MTD && MTD_RAW_NAND
CONFIG_MTD_NAND_AU1550 Au1550/1200 NAND support
- Off
- Module
- Built in
This enables the driver for the NAND flash controller on the AMD/Alchemy 1550 SOC.
- Depends on
MTD && MTD_RAW_NAND && MIPS_ALCHEMY
CONFIG_MTD_NAND_NDFC IBM/MCC 4xx NAND controller
- Off
- Module
- Built in
NDFC Nand Flash Controllers are integrated in IBM/AMCC's 4xx SoCs
- Depends on
MTD && MTD_RAW_NAND && (44x || COMPILE_TEST) && OF - Selects
MTD_NAND_ECC_SW_HAMMING if MTD && MTD_RAW_NAND && (44x || COMPILE_TEST) && OF - Selects
MTD_NAND_ECC_SW_HAMMING_SMC if MTD && MTD_RAW_NAND && (44x || COMPILE_TEST) && OF
CONFIG_MTD_NAND_SHARPSL Sharp SL Series (C7xx + others) NAND controller
- Off
- Module
- Built in
- Depends on
MTD && MTD_RAW_NAND && (ARCH_PXA || COMPILE_TEST) && HAS_IOMEM
CONFIG_MTD_NAND_CAFE OLPC CAFÉ NAND controller
- Off
- Module
- Built in
Use NAND flash attached to the CAFÉ chip designed for the OLPC laptop.
- Depends on
MTD && MTD_RAW_NAND && PCI - Selects
REED_SOLOMON if MTD && MTD_RAW_NAND && PCI - Selects
REED_SOLOMON_DEC16 if MTD && MTD_RAW_NAND && PCI
CONFIG_MTD_NAND_CS553X CS5535/CS5536 (AMD Geode companion) NAND controller
- Off
- Module
- Built in
The CS553x companion chips for the AMD Geode processor include NAND flash controllers with built-in hardware ECC capabilities; enabling this option will allow you to use these. The driver will check the MSRs to verify that the controller is enabled for NAND, and currently requires that the controller be in MMIO mode.
If you say "m", the module will be called cs553x_nand.
- Depends on
MTD && MTD_RAW_NAND && && !UML && HAS_IOMEM
CONFIG_MTD_NAND_ATMEL Atmel AT91 NAND Flash/SmartMedia NAND controller
- Off
- Module
- Built in
Enables support for NAND Flash / Smart Media Card interface on Atmel AT91 processors.
- Depends on
MTD && MTD_RAW_NAND && (ARCH_AT91 || COMPILE_TEST) && HAS_IOMEM - Selects
GENERIC_ALLOCATOR if MTD && MTD_RAW_NAND && (ARCH_AT91 || COMPILE_TEST) && HAS_IOMEM - Selects
MFD_ATMEL_SMC if MTD && MTD_RAW_NAND && (ARCH_AT91 || COMPILE_TEST) && HAS_IOMEM
CONFIG_MTD_NAND_ORION Marvell Orion NAND controller
- Off
- Module
- Built in
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.
- Depends on
MTD && MTD_RAW_NAND && PLAT_ORION
CONFIG_MTD_NAND_MARVELL Marvell EBU NAND controller
- Off
- Module
- Built in
This enables the NAND flash controller driver for Marvell boards, including: - PXA3xx processors (NFCv1) - 32-bit Armada platforms (XP, 37x, 38x, 39x) (NFCv2) - 64-bit Aramda platforms (7k, 8k, ac5) (NFCv2)
- Depends on
MTD && MTD_RAW_NAND && (PXA3xx || || PLAT_ORION || || COMPILE_TEST) && HAS_IOMEM
CONFIG_MTD_NAND_SLC_LPC32XX NXP LPC32xx SLC NAND controller
- Off
- Module
- Built in
Enables support for NXP's LPC32XX SLC (i.e. for Single Level Cell chips) NAND controller. This is the default for the PHYTEC 3250 reference board which contains a NAND256R3A2CZA6 chip.
Please check the actual NAND chip connected and its support by the SLC NAND controller.
- Depends on
MTD && MTD_RAW_NAND && (ARCH_LPC32XX || COMPILE_TEST) && HAS_IOMEM
CONFIG_MTD_NAND_MLC_LPC32XX NXP LPC32xx MLC NAND controller
- Off
- Module
- Built in
Uses the LPC32XX MLC (i.e. for Multi Level Cell chips) NAND controller. This is the default for the WORK92105 controller board.
Please check the actual NAND chip connected and its support by the MLC NAND controller.
- Depends on
MTD && MTD_RAW_NAND && (ARCH_LPC32XX || COMPILE_TEST) && HAS_IOMEM
CONFIG_MTD_NAND_PASEMI PA Semi PWRficient NAND controller
- Off
- Module
- Built in
Enables support for NAND Flash interface on PA Semi PWRficient based boards
- Depends on
MTD && MTD_RAW_NAND && PPC_PASEMI
CONFIG_MTD_NAND_BCM47XXNFLASH BCM4706 BCMA NAND controller
- Off
- Module
- Built in
BCMA bus can have various flash memories attached, they are registered by bcma as platform devices. This enables driver for NAND flash memories. For now only BCM4706 is supported.
- Depends on
MTD && MTD_RAW_NAND && BCMA_NFLASH && BCMA
CONFIG_MTD_NAND_MPC5121_NFC MPC5121 NAND controller
- Off
- Module
- Built in
This enables the driver for the NAND flash controller on the MPC5121 SoC.
- Depends on
MTD && MTD_RAW_NAND && PPC_MPC512x
CONFIG_MTD_NAND_GPMI_NAND Freescale GPMI NAND controller
- Off
- Module
- Built in
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.
- Depends on
MTD && MTD_RAW_NAND && MXS_DMA
CONFIG_MTD_NAND_FSL_ELBC Freescale eLBC NAND controller
- Off
- Module
- Built in
Various Freescale chips, including the 8313, include a NAND Flash Controller Module with built-in hardware ECC capabilities. Enabling this option will enable you to use this to control external NAND devices.
- Depends on
MTD && MTD_RAW_NAND && FSL_SOC - Selects
FSL_LBC if MTD && MTD_RAW_NAND && FSL_SOC
CONFIG_MTD_NAND_FSL_IFC Freescale IFC NAND controller
- Off
- Module
- Built in
Various Freescale chips e.g P1010, include a NAND Flash machine with built-in hardware ECC capabilities. Enabling this option will enable you to use this to control external NAND devices.
- Depends on
MTD && MTD_RAW_NAND && (FSL_SOC || ARCH_LAYERSCAPE || SOC_LS1021A || COMPILE_TEST) && HAS_IOMEM && FSL_IFC
CONFIG_MTD_NAND_FSL_UPM Freescale UPM NAND controller
- Off
- Module
- Built in
Enables support for NAND Flash chips wired onto Freescale PowerPC processor localbus with User-Programmable Machine support.
- Depends on
MTD && MTD_RAW_NAND && (PPC_83xx || PPC_85xx) - Selects
FSL_LBC if MTD && MTD_RAW_NAND && (PPC_83xx || PPC_85xx)
CONFIG_MTD_NAND_VF610_NFC Freescale VF610/MPC5125 NAND controller
- Off
- Module
- Built in
Enables support for NAND Flash Controller on some Freescale processors like the VF610, MPC5125, MCF54418 or Kinetis K70. The driver supports a maximum 2k page size. With 2k pages and 64 bytes or more of OOB, hardware ECC with up to 32-bit error correction is supported. Hardware ECC is only enabled through device tree.
- Depends on
MTD && MTD_RAW_NAND && (SOC_VF610 || COMPILE_TEST) && HAS_IOMEM
CONFIG_MTD_NAND_MXC Freescale MXC NAND controller
- Off
- Module
- Built in
This enables the driver for the NAND flash controller on the MXC processors.
- Depends on
MTD && MTD_RAW_NAND && ( || COMPILE_TEST) && HAS_IOMEM && OF
CONFIG_MTD_NAND_SH_FLCTL Renesas SuperH FLCTL NAND controller
- Off
- Module
- Built in
Several Renesas SuperH CPU has FLCTL. This option enables support for NAND Flash using FLCTL.
- Depends on
MTD && MTD_RAW_NAND && (SUPERH || COMPILE_TEST) && HAS_IOMEM
CONFIG_MTD_NAND_DAVINCI DaVinci/Keystone NAND controller
- Off
- Module
- Built in
Enable the driver for NAND flash chips on Texas Instruments DaVinci/Keystone processors.
- Depends on
MTD && MTD_RAW_NAND && (COMPILE_TEST || ARCH_DAVINCI || ARCH_KEYSTONE) && HAS_IOMEM && TI_AEMIF
CONFIG_MTD_NAND_TXX9NDFMC TXx9 NAND controller
- Off
- Module
- Built in
This enables the NAND flash controller on the TXx9 SoCs.
- Depends on
MTD && MTD_RAW_NAND && (SOC_TX4938 || COMPILE_TEST) && HAS_IOMEM
CONFIG_MTD_NAND_SOCRATES Socrates NAND controller
- Off
- Module
- Built in
Enables support for NAND Flash chips wired onto Socrates board.
- Depends on
MTD && MTD_RAW_NAND && SOCRATES
CONFIG_MTD_NAND_FSMC ST Micros FSMC NAND controller
- Off
- Module
- Built in
Enables support for NAND Flash chips on the ST Microelectronics Flexible Static Memory Controller (FSMC)
- Depends on
MTD && MTD_RAW_NAND && OF && HAS_IOMEM && (PLAT_SPEAR || ARCH_NOMADIK || ARCH_U8500 || COMPILE_TEST)
CONFIG_MTD_NAND_XWAY Lantiq XWAY NAND controller
Enables support for NAND Flash chips on Lantiq XWAY SoCs. NAND is attached to the External Bus Unit (EBU).
- Depends on
MTD && MTD_RAW_NAND && LANTIQ && SOC_TYPE_XWAY
CONFIG_MTD_NAND_SUNXI Allwinner NAND controller
- Off
- Module
- Built in
Enables support for NAND Flash chips on Allwinner SoCs.
- Depends on
MTD && MTD_RAW_NAND && ( || COMPILE_TEST) && HAS_IOMEM
CONFIG_MTD_NAND_HISI504 Hisilicon Hip04 NAND controller
- Off
- Module
- Built in
Enables support for NAND controller on Hisilicon SoC Hip04.
- Depends on
MTD && MTD_RAW_NAND && ( || COMPILE_TEST) && HAS_IOMEM
CONFIG_MTD_NAND_QCOM Qualcomm NAND controller
- Off
- Module
- Built in
Enables support for NAND flash chips on SoCs containing the EBI2 NAND controller. This controller is found on IPQ806x SoC.
- Depends on
MTD && MTD_RAW_NAND && ( || COMPILE_TEST) && HAS_IOMEM
CONFIG_MTD_NAND_MTK MTK NAND controller
- Off
- Module
- Built in
Enables support for NAND controller on MTK SoCs. This controller is found on mt27xx, mt81xx, mt65xx SoCs.
- Depends on
MTD && MTD_RAW_NAND && MTD_NAND_ECC_MEDIATEK && ( || COMPILE_TEST) && HAS_IOMEM
CONFIG_MTD_NAND_MXIC Macronix raw NAND controller
- Off
- Module
- Built in
This selects the Macronix raw NAND controller driver.
- Depends on
MTD && MTD_RAW_NAND && (HAS_IOMEM || COMPILE_TEST)
CONFIG_MTD_NAND_TEGRA NVIDIA Tegra NAND controller
- Off
- Module
- Built in
Enables support for NAND flash controller on NVIDIA Tegra SoC. The driver has been developed and tested on a Tegra 2 SoC. DMA support, raw read/write page as well as HW ECC read/write page is supported. Extra OOB bytes when using HW ECC are currently not supported.
- Depends on
MTD && MTD_RAW_NAND && ( || COMPILE_TEST) && HAS_IOMEM
CONFIG_MTD_NAND_STM32_FMC2 Support for NAND controller on STM32MP SoCs
- Off
- Module
- Built in
Enables support for NAND Flash chips on SoCs containing the FMC2 NAND controller. This controller is found on STM32MP SoCs. The controller supports a maximum 8k page size and supports a maximum 8-bit correction error per sector of 512 bytes.
- Depends on
MTD && MTD_RAW_NAND && ( || COMPILE_TEST) - Selects
MFD_SYSCON if MTD && MTD_RAW_NAND && ( || COMPILE_TEST)
CONFIG_MTD_NAND_MESON Support for NAND controller on Amlogic's Meson SoCs
- Off
- Module
- Built in
Enables support for NAND controller on Amlogic's Meson SoCs. This controller is found on Meson SoCs.
- Depends on
MTD && MTD_RAW_NAND && COMMON_CLK && ( || COMPILE_TEST) - Selects
MFD_SYSCON if MTD && MTD_RAW_NAND && COMMON_CLK && ( || COMPILE_TEST)
CONFIG_MTD_NAND_GPIO GPIO assisted NAND controller
- Off
- Module
- Built in
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.
- Depends on
MTD && MTD_RAW_NAND && (GPIOLIB || COMPILE_TEST) && HAS_IOMEM
CONFIG_MTD_NAND_PLATFORM Generic NAND controller
- Off
- Module
- Built in
This implements a generic NAND driver for on-SOC platform devices. You will need to provide platform-specific functions via platform_data.
- Depends on
MTD && MTD_RAW_NAND && HAS_IOMEM
CONFIG_MTD_NAND_CADENCE Support Cadence NAND (HPNFC) controller
- Off
- Module
- Built in
Enable the driver for NAND flash on platforms using a Cadence NAND controller.
- Depends on
MTD && MTD_RAW_NAND && OF && HAS_IOMEM
CONFIG_MTD_NAND_ARASAN Support for Arasan NAND flash controller
- Off
- Module
- Built in
Enables the driver for the Arasan NAND flash controller on Zynq Ultrascale+ MPSoC.
- Depends on
MTD && MTD_RAW_NAND && HAS_IOMEM && HAS_DMA - Selects
BCH if MTD && MTD_RAW_NAND && HAS_IOMEM && HAS_DMA
CONFIG_MTD_NAND_INTEL_LGM Support for NAND controller on Intel LGM SoC
- Off
- Module
- Built in
Enables support for NAND Flash chips on Intel's LGM SoC. NAND flash controller interfaced through the External Bus Unit.
- Depends on
MTD && MTD_RAW_NAND && OF && HAS_IOMEM
CONFIG_MTD_NAND_ROCKCHIP Rockchip NAND controller
- Off
- Module
- Built in
Enables support for NAND controller on Rockchip SoCs. There are four different versions of NAND FLASH Controllers, including: NFC v600: RK2928, RK3066, RK3188 NFC v622: RK3036, RK3128 NFC v800: RK3308, RV1108 NFC v900: PX30, RK3326
- Depends on
MTD && MTD_RAW_NAND && && HAS_IOMEM
CONFIG_MTD_NAND_PL35X ARM PL35X NAND controller
- Off
- Module
- Built in
Enables support for PrimeCell SMC PL351 and PL353 NAND controller found on Zynq7000.
- Depends on
MTD && MTD_RAW_NAND && OF && PL353_SMC
CONFIG_MTD_NAND_RENESAS Renesas R-Car Gen3 & RZ/N1 NAND controller
- Off
- Module
- Built in
Enables support for the NAND controller found on Renesas R-Car Gen3 and RZ/N1 SoC families.
- Depends on
MTD && MTD_RAW_NAND && ( || COMPILE_TEST)
CONFIG_MTD_NAND_TS72XX ts72xx NAND controller
- Off
- Module
- Built in
Enables support for NAND controller on ts72xx SBCs.
- Depends on
MTD && MTD_RAW_NAND && ARCH_EP93XX && HAS_IOMEM
CONFIG_MTD_NAND_NUVOTON_MA35 Nuvoton MA35 SoC NAND controller
- Off
- Module
- Built in
Enables support for the NAND controller found on the Nuvoton MA35 series SoCs.
- Depends on
MTD && MTD_RAW_NAND && (ARCH_MA35 || COMPILE_TEST) && OF
CONFIG_MTD_NAND_LOONGSON Loongson NAND controller
- Off
- Module
- Built in
Enables support for NAND controller on Loongson family chips.
- Depends on
MTD && MTD_RAW_NAND && (LOONGSON1_APB_DMA || LOONGSON2_APB_DMA || COMPILE_TEST) - Selects
REGMAP_MMIO if MTD && MTD_RAW_NAND && (LOONGSON1_APB_DMA || LOONGSON2_APB_DMA || COMPILE_TEST)
Misc
- Depends on
MTD && MTD_RAW_NAND
CONFIG_MTD_SM_COMMON
- Off
- Module
- Built in
- Depends on
MTD && MTD_RAW_NAND
CONFIG_MTD_NAND_NANDSIM Support for NAND Flash Simulator
- Off
- Module
- Built in
The simulator may simulate various NAND flash chips for the MTD nand layer.
- Depends on
MTD && MTD_RAW_NAND
CONFIG_MTD_NAND_RICOH Ricoh xD card reader
- Off
- Module
- Built in
Enable support for Ricoh R5C852 xD card reader You also need to enable either NAND SSFDC (SmartMedia) read only translation layer' or new experimental, readwrite 'SmartMedia/xD new translation layer'
- Depends on
MTD && MTD_RAW_NAND && PCI - Selects
MTD_SM_COMMON if MTD && MTD_RAW_NAND && PCI
CONFIG_MTD_NAND_DISKONCHIP DiskOnChip 2000, Millennium and Millennium Plus (NAND reimplementation)
- Off
- Module
- Built in
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.
- Depends on
MTD && MTD_RAW_NAND && HAS_IOMEM - Selects
REED_SOLOMON if MTD && MTD_RAW_NAND && HAS_IOMEM - Selects
REED_SOLOMON_DEC16 if MTD && MTD_RAW_NAND && HAS_IOMEM
If MTD_NAND_DISKONCHIP
CONFIG_MTD_NAND_DISKONCHIP_PROBE_ADVANCED Advanced detection options for DiskOnChip
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'.
- Depends on
MTD && MTD_RAW_NAND && MTD_NAND_DISKONCHIP
CONFIG_MTD_NAND_DISKONCHIP_PROBE_ADDRESS Physical address of DiskOnChip
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.
- Depends on
MTD && MTD_RAW_NAND && MTD_NAND_DISKONCHIP
If MTD_NAND_DISKONCHIP_PROBE_ADVANCED
CONFIG_MTD_NAND_DISKONCHIP_PROBE_HIGH Probe high addresses
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'.
- Depends on
MTD && MTD_RAW_NAND && MTD_NAND_DISKONCHIP_PROBE_ADVANCED
CONFIG_MTD_NAND_DISKONCHIP_BBTWRITE Allow BBT writes on DiskOnChip Millennium and 2000TSOP
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".
- Depends on
MTD && MTD_RAW_NAND && MTD_NAND_DISKONCHIP