Kconfig

If MTD_RAW_NAND

Raw/parallel NAND flash controllers

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.

If MTD_NAND_OMAP2

CONFIG_MTD_NAND_OMAP_BCH Support hardware based BCH error correction

On

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.

CONFIG_MTD_NAND_AU1550 Au1550/1200 NAND support

  • Off
  • Module
  • Built in
Unknown

This enables the driver for the NAND flash controller on the AMD/Alchemy 1550 SOC.

CONFIG_MTD_NAND_CS553X CS5535/CS5536 (AMD Geode companion) NAND controller

  • Off
  • Module
  • Built in
Unknown

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.

CONFIG_MTD_NAND_ORION Marvell Orion NAND controller

  • Off
  • Module
  • Built in
Unknown

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 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)

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.

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.

CONFIG_MTD_NAND_PASEMI PA Semi PWRficient NAND controller

  • Off
  • Module
  • Built in
Unknown

Enables support for NAND Flash interface on PA Semi PWRficient based boards

Includedrivers/mtd/nand/raw/brcmnand/Kconfig Open file

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.

CONFIG_MTD_NAND_MPC5121_NFC MPC5121 NAND controller

  • Off
  • Module
  • Built in
Unknown

This enables the driver for the NAND flash controller on the MPC5121 SoC.

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.

CONFIG_MTD_NAND_FSL_ELBC Freescale eLBC NAND controller

  • Off
  • Module
  • Built in
Unknown

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.

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.

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.

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.

CONFIG_MTD_NAND_SOCRATES Socrates NAND controller

  • Off
  • Module
  • Built in
Unknown

Enables support for NAND Flash chips wired onto Socrates board.

Includedrivers/mtd/nand/raw/ingenic/Kconfig Open file

CONFIG_MTD_NAND_XWAY Lantiq XWAY NAND controller

Unknown

Enables support for NAND Flash chips on Lantiq XWAY SoCs. NAND is attached to the External Bus Unit (EBU).

CONFIG_MTD_NAND_SUNXI Allwinner NAND controller

  • Off
  • Module
  • Built in

Enables support for NAND Flash chips on Allwinner SoCs.

CONFIG_MTD_NAND_HISI504 Hisilicon Hip04 NAND controller

  • Off
  • Module
  • Built in

Enables support for NAND controller on Hisilicon SoC Hip04.

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.

CONFIG_MTD_NAND_MXIC Macronix raw NAND controller

  • Off
  • Module
  • Built in

This selects the Macronix raw NAND controller driver.

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.

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.

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.

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.

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.

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.

CONFIG_MTD_NAND_ROCKCHIP Rockchip NAND controller

  • Off
  • Module
  • Built in
Unknown
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

CONFIG_MTD_NAND_PL35X ARM PL35X NAND controller

  • Off
  • Module
  • Built in
Unknown

Enables support for PrimeCell SMC PL351 and PL353 NAND controller found on Zynq7000.

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.

CONFIG_MTD_NAND_TS72XX ts72xx NAND controller

  • Off
  • Module
  • Built in
Unknown

Enables support for NAND controller on ts72xx SBCs.

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.

Misc

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.

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'

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.

If MTD_NAND_DISKONCHIP

CONFIG_MTD_NAND_DISKONCHIP_PROBE_ADVANCED Advanced detection options for DiskOnChip

On

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 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.

If MTD_NAND_DISKONCHIP_PROBE_ADVANCED

CONFIG_MTD_NAND_DISKONCHIP_PROBE_HIGH Probe high addresses

On

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 Allow BBT writes on DiskOnChip Millennium and 2000TSOP

On

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".