2019-05-19 20:07:45 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2019-02-08 15:48:37 +08:00
|
|
|
config MTD_NAND_ECC_SW_HAMMING
|
2018-02-06 06:02:04 +08:00
|
|
|
tristate
|
|
|
|
|
2019-02-08 15:48:37 +08:00
|
|
|
config MTD_NAND_ECC_SW_HAMMING_SMC
|
2018-02-06 06:02:04 +08:00
|
|
|
bool "NAND ECC Smart Media byte order"
|
2019-02-08 15:48:37 +08:00
|
|
|
depends on MTD_NAND_ECC_SW_HAMMING
|
2018-02-06 06:02:04 +08:00
|
|
|
default n
|
|
|
|
help
|
|
|
|
Software ECC according to the Smart Media Specification.
|
|
|
|
The original Linux implementation had byte 0 and 1 swapped.
|
|
|
|
|
2019-02-06 23:47:44 +08:00
|
|
|
menuconfig MTD_RAW_NAND
|
2018-03-19 17:21:58 +08:00
|
|
|
tristate "Raw/Parallel NAND Device Support"
|
2018-02-06 06:02:04 +08:00
|
|
|
depends on MTD
|
2018-10-26 04:10:36 +08:00
|
|
|
select MTD_NAND_CORE
|
2019-02-08 15:48:37 +08:00
|
|
|
select MTD_NAND_ECC_SW_HAMMING
|
2018-02-06 06:02:04 +08:00
|
|
|
help
|
2018-03-19 17:21:58 +08:00
|
|
|
This enables support for accessing all type of raw/parallel
|
|
|
|
NAND flash devices. For further information see
|
2018-02-06 06:02:04 +08:00
|
|
|
<http://www.linux-mtd.infradead.org/doc/nand.html>.
|
|
|
|
|
2019-02-06 23:47:44 +08:00
|
|
|
if MTD_RAW_NAND
|
2018-02-06 06:02:04 +08:00
|
|
|
|
2019-02-06 22:12:27 +08:00
|
|
|
config MTD_NAND_ECC_SW_BCH
|
2019-04-11 03:58:52 +08:00
|
|
|
bool "Support software BCH ECC"
|
2018-02-06 06:02:04 +08:00
|
|
|
select BCH
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
This enables support for software BCH error correction. Binary BCH
|
|
|
|
codes are more powerful and cpu intensive than traditional Hamming
|
|
|
|
ECC codes. They are used with NAND devices requiring more than 1 bit
|
|
|
|
of error correction.
|
|
|
|
|
2019-02-06 23:29:14 +08:00
|
|
|
comment "Raw/parallel NAND flash controllers"
|
2018-02-06 06:02:04 +08:00
|
|
|
|
|
|
|
config MTD_NAND_DENALI
|
|
|
|
tristate
|
|
|
|
|
|
|
|
config MTD_NAND_DENALI_PCI
|
2019-02-06 23:29:14 +08:00
|
|
|
tristate "Denali NAND controller on Intel Moorestown"
|
2018-02-06 06:02:04 +08:00
|
|
|
select MTD_NAND_DENALI
|
2018-04-18 01:49:14 +08:00
|
|
|
depends on PCI
|
2018-07-18 15:04:12 +08:00
|
|
|
help
|
|
|
|
Enable the driver for NAND flash on Intel Moorestown, using the
|
|
|
|
Denali NAND controller core.
|
2018-02-06 06:02:04 +08:00
|
|
|
|
|
|
|
config MTD_NAND_DENALI_DT
|
2019-02-06 23:29:14 +08:00
|
|
|
tristate "Denali NAND controller as a DT device"
|
2018-02-06 06:02:04 +08:00
|
|
|
select MTD_NAND_DENALI
|
|
|
|
depends on HAS_DMA && HAVE_CLK && OF
|
|
|
|
help
|
|
|
|
Enable the driver for NAND flash on platforms using a Denali NAND
|
|
|
|
controller as a DT device.
|
|
|
|
|
|
|
|
config MTD_NAND_AMS_DELTA
|
2019-02-06 23:29:14 +08:00
|
|
|
tristate "Amstrad E3 NAND controller"
|
2018-11-11 15:55:08 +08:00
|
|
|
depends on MACH_AMS_DELTA || COMPILE_TEST
|
2018-02-06 06:02:04 +08:00
|
|
|
default y
|
|
|
|
help
|
|
|
|
Support for NAND flash on Amstrad E3 (Delta).
|
|
|
|
|
|
|
|
config MTD_NAND_OMAP2
|
2019-02-06 23:29:14 +08:00
|
|
|
tristate "OMAP2, OMAP3, OMAP4 and Keystone NAND controller"
|
2018-07-05 17:44:59 +08:00
|
|
|
depends on ARCH_OMAP2PLUS || ARCH_KEYSTONE || COMPILE_TEST
|
|
|
|
depends on HAS_IOMEM
|
2018-02-06 06:02:04 +08:00
|
|
|
help
|
2018-07-18 15:04:12 +08:00
|
|
|
Support for NAND flash on Texas Instruments OMAP2, OMAP3, OMAP4
|
2018-02-06 06:02:04 +08:00
|
|
|
and Keystone platforms.
|
|
|
|
|
|
|
|
config MTD_NAND_OMAP_BCH
|
|
|
|
depends on MTD_NAND_OMAP2
|
|
|
|
bool "Support hardware based BCH error correction"
|
|
|
|
default n
|
|
|
|
select BCH
|
|
|
|
help
|
|
|
|
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_OMAP_BCH_BUILD
|
|
|
|
def_tristate MTD_NAND_OMAP2 && MTD_NAND_OMAP_BCH
|
|
|
|
|
|
|
|
config MTD_NAND_AU1550
|
|
|
|
tristate "Au1550/1200 NAND support"
|
|
|
|
depends on MIPS_ALCHEMY
|
|
|
|
help
|
|
|
|
This enables the driver for the NAND flash controller on the
|
|
|
|
AMD/Alchemy 1550 SOC.
|
|
|
|
|
2019-02-06 23:29:14 +08:00
|
|
|
config MTD_NAND_NDFC
|
|
|
|
tristate "IBM/MCC 4xx NAND controller"
|
|
|
|
depends on 4xx
|
|
|
|
select MTD_NAND_ECC_SW_HAMMING_SMC
|
|
|
|
help
|
|
|
|
NDFC Nand Flash Controllers are integrated in IBM/AMCC's 4xx SoCs
|
|
|
|
|
2018-02-06 06:02:04 +08:00
|
|
|
config MTD_NAND_S3C2410
|
2019-02-06 23:29:14 +08:00
|
|
|
tristate "Samsung S3C NAND controller"
|
2018-02-06 06:02:04 +08:00
|
|
|
depends on ARCH_S3C24XX || ARCH_S3C64XX
|
|
|
|
help
|
|
|
|
This enables the NAND flash controller on the S3C24xx and S3C64xx
|
|
|
|
SoCs
|
|
|
|
|
|
|
|
No board specific support is done by this driver, each board
|
|
|
|
must advertise a platform_device for the driver to attach.
|
|
|
|
|
|
|
|
config MTD_NAND_S3C2410_DEBUG
|
2019-02-06 23:29:14 +08:00
|
|
|
bool "Samsung S3C NAND controller debug"
|
2018-02-06 06:02:04 +08:00
|
|
|
depends on MTD_NAND_S3C2410
|
|
|
|
help
|
|
|
|
Enable debugging of the S3C NAND driver
|
|
|
|
|
|
|
|
config MTD_NAND_S3C2410_CLKSTOP
|
|
|
|
bool "Samsung S3C NAND IDLE clock stop"
|
|
|
|
depends on MTD_NAND_S3C2410
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Stop the clock to the NAND controller when there is no chip
|
|
|
|
selected to save power. This will mean there is a small delay
|
|
|
|
when the is NAND chip selected or released, but will save
|
|
|
|
approximately 5mA of power when there is nothing happening.
|
|
|
|
|
|
|
|
config MTD_NAND_TANGO
|
2019-02-06 23:29:14 +08:00
|
|
|
tristate "Tango NAND controller"
|
2018-02-06 06:02:04 +08:00
|
|
|
depends on ARCH_TANGO || COMPILE_TEST
|
2018-07-05 17:44:57 +08:00
|
|
|
depends on HAS_IOMEM
|
2018-02-06 06:02:04 +08:00
|
|
|
help
|
|
|
|
Enables the NAND Flash controller on Tango chips.
|
|
|
|
|
|
|
|
config MTD_NAND_SHARPSL
|
2019-02-06 23:29:14 +08:00
|
|
|
tristate "Sharp SL Series (C7xx + others) NAND controller"
|
2018-07-05 17:45:02 +08:00
|
|
|
depends on ARCH_PXA || COMPILE_TEST
|
|
|
|
depends on HAS_IOMEM
|
2018-02-06 06:02:04 +08:00
|
|
|
|
|
|
|
config MTD_NAND_CAFE
|
2019-02-06 23:29:14 +08:00
|
|
|
tristate "OLPC CAFÉ NAND controller"
|
2018-02-06 06:02:04 +08:00
|
|
|
depends on PCI
|
|
|
|
select REED_SOLOMON
|
|
|
|
select REED_SOLOMON_DEC16
|
|
|
|
help
|
|
|
|
Use NAND flash attached to the CAFÉ chip designed for the OLPC
|
|
|
|
laptop.
|
|
|
|
|
|
|
|
config MTD_NAND_CS553X
|
2019-02-06 23:29:14 +08:00
|
|
|
tristate "CS5535/CS5536 (AMD Geode companion) NAND controller"
|
2018-02-06 06:02:04 +08:00
|
|
|
depends on X86_32
|
|
|
|
depends on !UML && HAS_IOMEM
|
|
|
|
help
|
|
|
|
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_ATMEL
|
2019-02-06 23:29:14 +08:00
|
|
|
tristate "Atmel AT91 NAND Flash/SmartMedia NAND controller"
|
2018-07-10 04:09:24 +08:00
|
|
|
depends on ARCH_AT91 || COMPILE_TEST
|
|
|
|
depends on HAS_IOMEM
|
2018-08-11 21:47:12 +08:00
|
|
|
select GENERIC_ALLOCATOR
|
2018-02-06 06:02:04 +08:00
|
|
|
select MFD_ATMEL_SMC
|
|
|
|
help
|
|
|
|
Enables support for NAND Flash / Smart Media Card interface
|
|
|
|
on Atmel AT91 processors.
|
|
|
|
|
2019-02-06 23:29:14 +08:00
|
|
|
config MTD_NAND_ORION
|
|
|
|
tristate "Marvell Orion NAND controller"
|
|
|
|
depends on PLAT_ORION
|
|
|
|
help
|
|
|
|
This enables the NAND flash controller on Orion machines.
|
|
|
|
|
|
|
|
No board specific support is done by this driver, each board
|
|
|
|
must advertise a platform_device for the driver to attach.
|
|
|
|
|
2018-02-06 06:02:04 +08:00
|
|
|
config MTD_NAND_MARVELL
|
2019-02-06 23:29:14 +08:00
|
|
|
tristate "Marvell EBU NAND controller"
|
2018-02-06 06:02:04 +08:00
|
|
|
depends on PXA3xx || ARCH_MMP || PLAT_ORION || ARCH_MVEBU || \
|
|
|
|
COMPILE_TEST
|
2018-04-18 01:49:14 +08:00
|
|
|
depends on HAS_IOMEM
|
2018-02-06 06:02:04 +08:00
|
|
|
help
|
|
|
|
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) (NFCv2)
|
|
|
|
|
|
|
|
config MTD_NAND_SLC_LPC32XX
|
2019-02-06 23:29:14 +08:00
|
|
|
tristate "NXP LPC32xx SLC NAND controller"
|
2018-07-05 17:45:03 +08:00
|
|
|
depends on ARCH_LPC32XX || COMPILE_TEST
|
|
|
|
depends on HAS_IOMEM
|
2018-02-06 06:02:04 +08:00
|
|
|
help
|
|
|
|
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
|
2019-02-06 23:29:14 +08:00
|
|
|
tristate "NXP LPC32xx MLC NAND controller"
|
2018-07-05 17:45:03 +08:00
|
|
|
depends on ARCH_LPC32XX || COMPILE_TEST
|
|
|
|
depends on HAS_IOMEM
|
2018-02-06 06:02:04 +08:00
|
|
|
help
|
|
|
|
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
|
2019-02-06 23:29:14 +08:00
|
|
|
tristate "PA Semi PWRficient NAND controller"
|
2018-02-06 06:02:04 +08:00
|
|
|
depends on PPC_PASEMI
|
|
|
|
help
|
|
|
|
Enables support for NAND Flash interface on PA Semi PWRficient
|
|
|
|
based boards
|
|
|
|
|
|
|
|
config MTD_NAND_TMIO
|
2019-02-06 23:29:14 +08:00
|
|
|
tristate "Toshiba Mobile IO NAND controller"
|
2018-02-06 06:02:04 +08:00
|
|
|
depends on MFD_TMIO
|
|
|
|
help
|
|
|
|
Support for NAND flash connected to a Toshiba Mobile IO
|
|
|
|
Controller in some PDAs, including the Sharp SL6000x.
|
|
|
|
|
|
|
|
config MTD_NAND_BRCMNAND
|
|
|
|
tristate "Broadcom STB NAND controller"
|
2018-07-05 17:45:04 +08:00
|
|
|
depends on ARM || ARM64 || MIPS || COMPILE_TEST
|
|
|
|
depends on HAS_IOMEM
|
2018-02-06 06:02:04 +08:00
|
|
|
help
|
|
|
|
Enables the Broadcom NAND controller driver. The controller was
|
|
|
|
originally designed for Set-Top Box but is used on various BCM7xxx,
|
|
|
|
BCM3xxx, BCM63xxx, iProc/Cygnus and more.
|
|
|
|
|
|
|
|
config MTD_NAND_BCM47XXNFLASH
|
2019-02-06 23:29:14 +08:00
|
|
|
tristate "BCM4706 BCMA NAND controller"
|
2018-02-06 06:02:04 +08:00
|
|
|
depends on BCMA_NFLASH
|
2018-07-11 16:39:44 +08:00
|
|
|
depends on BCMA
|
2018-02-06 06:02:04 +08:00
|
|
|
help
|
|
|
|
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.
|
|
|
|
|
2019-02-06 23:29:14 +08:00
|
|
|
config MTD_NAND_OXNAS
|
|
|
|
tristate "Oxford Semiconductor NAND controller"
|
|
|
|
depends on ARCH_OXNAS || COMPILE_TEST
|
2018-02-06 06:02:04 +08:00
|
|
|
depends on HAS_IOMEM
|
|
|
|
help
|
2019-02-06 23:29:14 +08:00
|
|
|
This enables the NAND flash controller on Oxford Semiconductor SoCs.
|
2018-02-06 06:02:04 +08:00
|
|
|
|
2019-02-06 23:29:14 +08:00
|
|
|
config MTD_NAND_MPC5121_NFC
|
|
|
|
tristate "MPC5121 NAND controller"
|
|
|
|
depends on PPC_MPC512x
|
2018-02-06 06:02:04 +08:00
|
|
|
help
|
2019-02-06 23:29:14 +08:00
|
|
|
This enables the driver for the NAND flash controller on the
|
|
|
|
MPC5121 SoC.
|
2018-02-06 06:02:04 +08:00
|
|
|
|
2019-02-06 23:29:14 +08:00
|
|
|
config MTD_NAND_GPMI_NAND
|
|
|
|
tristate "Freescale GPMI NAND controller"
|
|
|
|
depends on MXS_DMA
|
2018-02-06 06:02:04 +08:00
|
|
|
help
|
2019-02-06 23:29:14 +08:00
|
|
|
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.
|
2018-02-06 06:02:04 +08:00
|
|
|
|
|
|
|
config MTD_NAND_FSL_ELBC
|
2019-02-06 23:29:14 +08:00
|
|
|
tristate "Freescale eLBC NAND controller"
|
2018-02-06 06:02:04 +08:00
|
|
|
depends on FSL_SOC
|
|
|
|
select FSL_LBC
|
|
|
|
help
|
|
|
|
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_FSL_IFC
|
2019-02-06 23:29:14 +08:00
|
|
|
tristate "Freescale IFC NAND controller"
|
2018-07-10 04:09:39 +08:00
|
|
|
depends on FSL_SOC || ARCH_LAYERSCAPE || SOC_LS1021A || COMPILE_TEST
|
|
|
|
depends on HAS_IOMEM
|
2018-02-06 06:02:04 +08:00
|
|
|
select FSL_IFC
|
|
|
|
select MEMORY
|
|
|
|
help
|
|
|
|
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.
|
|
|
|
|
|
|
|
config MTD_NAND_FSL_UPM
|
2019-02-06 23:29:14 +08:00
|
|
|
tristate "Freescale UPM NAND controller"
|
2018-02-06 06:02:04 +08:00
|
|
|
depends on PPC_83xx || PPC_85xx
|
|
|
|
select FSL_LBC
|
|
|
|
help
|
|
|
|
Enables support for NAND Flash chips wired onto Freescale PowerPC
|
|
|
|
processor localbus with User-Programmable Machine support.
|
|
|
|
|
|
|
|
config MTD_NAND_VF610_NFC
|
2019-02-06 23:29:14 +08:00
|
|
|
tristate "Freescale VF610/MPC5125 NAND controller"
|
2018-02-06 06:02:04 +08:00
|
|
|
depends on (SOC_VF610 || COMPILE_TEST)
|
|
|
|
depends on HAS_IOMEM
|
|
|
|
help
|
|
|
|
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
|
2019-02-06 23:29:14 +08:00
|
|
|
tristate "Freescale MXC NAND controller"
|
2018-07-05 17:45:08 +08:00
|
|
|
depends on ARCH_MXC || COMPILE_TEST
|
|
|
|
depends on HAS_IOMEM
|
2018-02-06 06:02:04 +08:00
|
|
|
help
|
|
|
|
This enables the driver for the NAND flash controller on the
|
|
|
|
MXC processors.
|
|
|
|
|
|
|
|
config MTD_NAND_SH_FLCTL
|
2019-02-06 23:29:14 +08:00
|
|
|
tristate "Renesas SuperH FLCTL NAND controller"
|
2018-02-06 06:02:04 +08:00
|
|
|
depends on SUPERH || COMPILE_TEST
|
|
|
|
depends on HAS_IOMEM
|
|
|
|
help
|
|
|
|
Several Renesas SuperH CPU has FLCTL. This option enables support
|
|
|
|
for NAND Flash using FLCTL.
|
|
|
|
|
|
|
|
config MTD_NAND_DAVINCI
|
2019-02-06 23:29:14 +08:00
|
|
|
tristate "DaVinci/Keystone NAND controller"
|
2018-07-10 04:09:30 +08:00
|
|
|
depends on ARCH_DAVINCI || (ARCH_KEYSTONE && TI_AEMIF) || COMPILE_TEST
|
|
|
|
depends on HAS_IOMEM
|
2018-07-18 15:04:12 +08:00
|
|
|
help
|
2018-02-06 06:02:04 +08:00
|
|
|
Enable the driver for NAND flash chips on Texas Instruments
|
|
|
|
DaVinci/Keystone processors.
|
|
|
|
|
|
|
|
config MTD_NAND_TXX9NDFMC
|
2019-02-06 23:29:14 +08:00
|
|
|
tristate "TXx9 NAND controller"
|
2018-07-10 04:09:41 +08:00
|
|
|
depends on SOC_TX4938 || SOC_TX4939 || COMPILE_TEST
|
|
|
|
depends on HAS_IOMEM
|
2018-02-06 06:02:04 +08:00
|
|
|
help
|
|
|
|
This enables the NAND flash controller on the TXx9 SoCs.
|
|
|
|
|
|
|
|
config MTD_NAND_SOCRATES
|
2019-02-06 23:29:14 +08:00
|
|
|
tristate "Socrates NAND controller"
|
2018-02-06 06:02:04 +08:00
|
|
|
depends on SOCRATES
|
|
|
|
help
|
|
|
|
Enables support for NAND Flash chips wired onto Socrates board.
|
|
|
|
|
2019-03-19 22:53:54 +08:00
|
|
|
source "drivers/mtd/nand/raw/ingenic/Kconfig"
|
2018-02-06 06:02:04 +08:00
|
|
|
|
|
|
|
config MTD_NAND_FSMC
|
2019-02-06 23:29:14 +08:00
|
|
|
tristate "ST Micros FSMC NAND controller"
|
2018-07-10 04:09:36 +08:00
|
|
|
depends on OF && HAS_IOMEM
|
|
|
|
depends on PLAT_SPEAR || ARCH_NOMADIK || ARCH_U8500 || MACH_U300 || \
|
|
|
|
COMPILE_TEST
|
2018-02-06 06:02:04 +08:00
|
|
|
help
|
|
|
|
Enables support for NAND Flash chips on the ST Microelectronics
|
|
|
|
Flexible Static Memory Controller (FSMC)
|
|
|
|
|
|
|
|
config MTD_NAND_XWAY
|
2019-02-06 23:29:14 +08:00
|
|
|
bool "Lantiq XWAY NAND controller"
|
2018-02-06 06:02:04 +08:00
|
|
|
depends on LANTIQ && SOC_TYPE_XWAY
|
|
|
|
help
|
|
|
|
Enables support for NAND Flash chips on Lantiq XWAY SoCs. NAND is attached
|
|
|
|
to the External Bus Unit (EBU).
|
|
|
|
|
|
|
|
config MTD_NAND_SUNXI
|
2019-02-06 23:29:14 +08:00
|
|
|
tristate "Allwinner NAND controller"
|
2018-07-10 04:09:33 +08:00
|
|
|
depends on ARCH_SUNXI || COMPILE_TEST
|
|
|
|
depends on HAS_IOMEM
|
2018-02-06 06:02:04 +08:00
|
|
|
help
|
|
|
|
Enables support for NAND Flash chips on Allwinner SoCs.
|
|
|
|
|
|
|
|
config MTD_NAND_HISI504
|
2019-02-06 23:29:14 +08:00
|
|
|
tristate "Hisilicon Hip04 NAND controller"
|
2018-02-06 06:02:04 +08:00
|
|
|
depends on ARCH_HISI || COMPILE_TEST
|
2018-07-05 17:44:57 +08:00
|
|
|
depends on HAS_IOMEM
|
2018-02-06 06:02:04 +08:00
|
|
|
help
|
|
|
|
Enables support for NAND controller on Hisilicon SoC Hip04.
|
|
|
|
|
|
|
|
config MTD_NAND_QCOM
|
2019-02-06 23:29:14 +08:00
|
|
|
tristate "QCOM NAND controller"
|
2018-07-05 17:45:11 +08:00
|
|
|
depends on ARCH_QCOM || COMPILE_TEST
|
|
|
|
depends on HAS_IOMEM
|
2018-02-06 06:02:04 +08:00
|
|
|
help
|
|
|
|
Enables support for NAND flash chips on SoCs containing the EBI2 NAND
|
|
|
|
controller. This controller is found on IPQ806x SoC.
|
|
|
|
|
|
|
|
config MTD_NAND_MTK
|
2019-02-06 23:29:14 +08:00
|
|
|
tristate "MTK NAND controller"
|
2018-02-06 06:02:04 +08:00
|
|
|
depends on ARCH_MEDIATEK || COMPILE_TEST
|
2018-07-05 17:44:57 +08:00
|
|
|
depends on HAS_IOMEM
|
2018-02-06 06:02:04 +08:00
|
|
|
help
|
|
|
|
Enables support for NAND controller on MTK SoCs.
|
|
|
|
This controller is found on mt27xx, mt81xx, mt65xx SoCs.
|
|
|
|
|
2019-08-19 15:19:08 +08:00
|
|
|
config MTD_NAND_MXIC
|
|
|
|
tristate "Macronix raw NAND controller"
|
|
|
|
depends on HAS_IOMEM || COMPILE_TEST
|
|
|
|
help
|
|
|
|
This selects the Macronix raw NAND controller driver.
|
|
|
|
|
2018-06-25 05:27:25 +08:00
|
|
|
config MTD_NAND_TEGRA
|
2019-02-06 23:29:14 +08:00
|
|
|
tristate "NVIDIA Tegra NAND controller"
|
2018-06-25 05:27:25 +08:00
|
|
|
depends on ARCH_TEGRA || COMPILE_TEST
|
2018-07-05 17:44:57 +08:00
|
|
|
depends on HAS_IOMEM
|
2018-06-25 05:27:25 +08:00
|
|
|
help
|
|
|
|
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.
|
|
|
|
|
2018-12-14 17:58:07 +08:00
|
|
|
config MTD_NAND_STM32_FMC2
|
|
|
|
tristate "Support for NAND controller on STM32MP SoCs"
|
|
|
|
depends on MACH_STM32MP157 || COMPILE_TEST
|
|
|
|
help
|
|
|
|
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.
|
|
|
|
|
2019-01-15 23:38:04 +08:00
|
|
|
config MTD_NAND_MESON
|
|
|
|
tristate "Support for NAND controller on Amlogic's Meson SoCs"
|
|
|
|
depends on ARCH_MESON || COMPILE_TEST
|
|
|
|
select MFD_SYSCON
|
|
|
|
help
|
|
|
|
Enables support for NAND controller on Amlogic's Meson SoCs.
|
|
|
|
This controller is found on Meson SoCs.
|
|
|
|
|
2019-02-06 23:29:14 +08:00
|
|
|
config MTD_NAND_GPIO
|
|
|
|
tristate "GPIO assisted NAND controller"
|
|
|
|
depends on GPIOLIB || COMPILE_TEST
|
|
|
|
depends on HAS_IOMEM
|
|
|
|
help
|
|
|
|
This enables a NAND flash driver where control signals are
|
|
|
|
connected to GPIO pins, and commands and data are communicated
|
|
|
|
via a memory mapped interface.
|
|
|
|
|
|
|
|
config MTD_NAND_PLATFORM
|
|
|
|
tristate "Generic NAND controller"
|
|
|
|
depends on HAS_IOMEM
|
|
|
|
help
|
|
|
|
This implements a generic NAND driver for on-SOC platform
|
|
|
|
devices. You will need to provide platform-specific functions
|
|
|
|
via platform_data.
|
|
|
|
|
2019-09-26 16:11:36 +08:00
|
|
|
config MTD_NAND_CADENCE
|
|
|
|
tristate "Support Cadence NAND (HPNFC) controller"
|
2019-12-12 03:27:37 +08:00
|
|
|
depends on (OF || COMPILE_TEST) && HAS_IOMEM
|
2019-09-26 16:11:36 +08:00
|
|
|
help
|
|
|
|
Enable the driver for NAND flash on platforms using a Cadence NAND
|
|
|
|
controller.
|
|
|
|
|
2020-05-19 15:45:48 +08:00
|
|
|
config MTD_NAND_ARASAN
|
|
|
|
tristate "Support for Arasan NAND flash controller"
|
|
|
|
depends on HAS_IOMEM && HAS_DMA
|
2020-05-19 15:45:49 +08:00
|
|
|
select BCH
|
2020-05-19 15:45:48 +08:00
|
|
|
help
|
|
|
|
Enables the driver for the Arasan NAND flash controller on
|
|
|
|
Zynq Ultrascale+ MPSoC.
|
|
|
|
|
2019-02-06 23:29:14 +08:00
|
|
|
comment "Misc"
|
|
|
|
|
|
|
|
config MTD_SM_COMMON
|
|
|
|
tristate
|
|
|
|
default n
|
|
|
|
|
|
|
|
config MTD_NAND_NANDSIM
|
|
|
|
tristate "Support for NAND Flash Simulator"
|
|
|
|
help
|
|
|
|
The simulator may simulate various NAND flash chips for the
|
|
|
|
MTD nand layer.
|
|
|
|
|
|
|
|
config MTD_NAND_RICOH
|
|
|
|
tristate "Ricoh xD card reader"
|
|
|
|
default n
|
|
|
|
depends on PCI
|
|
|
|
select MTD_SM_COMMON
|
|
|
|
help
|
|
|
|
Enable support for Ricoh R5C852 xD card reader
|
|
|
|
You also need to enable ether
|
|
|
|
NAND SSFDC (SmartMedia) read only translation layer' or new
|
|
|
|
expermental, readwrite
|
|
|
|
'SmartMedia/xD new translation layer'
|
|
|
|
|
|
|
|
config MTD_NAND_DISKONCHIP
|
|
|
|
tristate "DiskOnChip 2000, Millennium and Millennium Plus (NAND reimplementation)"
|
|
|
|
depends on HAS_IOMEM
|
|
|
|
select REED_SOLOMON
|
|
|
|
select REED_SOLOMON_DEC16
|
|
|
|
help
|
|
|
|
This is a reimplementation of M-Systems DiskOnChip 2000,
|
|
|
|
Millennium and Millennium Plus as a standard NAND device driver,
|
|
|
|
as opposed to the earlier self-contained MTD device drivers.
|
|
|
|
This should enable, among other things, proper JFFS2 operation on
|
|
|
|
these devices.
|
|
|
|
|
|
|
|
config MTD_NAND_DISKONCHIP_PROBE_ADVANCED
|
|
|
|
bool "Advanced detection options for DiskOnChip"
|
|
|
|
depends on MTD_NAND_DISKONCHIP
|
|
|
|
help
|
|
|
|
This option allows you to specify nonstandard address at which to
|
|
|
|
probe for a DiskOnChip, or to change the detection options. You
|
|
|
|
are unlikely to need any of this unless you are using LinuxBIOS.
|
|
|
|
Say 'N'.
|
|
|
|
|
|
|
|
config MTD_NAND_DISKONCHIP_PROBE_ADDRESS
|
|
|
|
hex "Physical address of DiskOnChip" if MTD_NAND_DISKONCHIP_PROBE_ADVANCED
|
|
|
|
depends on MTD_NAND_DISKONCHIP
|
|
|
|
default "0"
|
|
|
|
help
|
|
|
|
By default, the probe for DiskOnChip devices will look for a
|
|
|
|
DiskOnChip at every multiple of 0x2000 between 0xC8000 and 0xEE000.
|
|
|
|
This option allows you to specify a single address at which to probe
|
|
|
|
for the device, which is useful if you have other devices in that
|
|
|
|
range which get upset when they are probed.
|
|
|
|
|
|
|
|
(Note that on PowerPC, the normal probe will only check at
|
|
|
|
0xE4000000.)
|
|
|
|
|
|
|
|
Normally, you should leave this set to zero, to allow the probe at
|
|
|
|
the normal addresses.
|
|
|
|
|
|
|
|
config MTD_NAND_DISKONCHIP_PROBE_HIGH
|
|
|
|
bool "Probe high addresses"
|
|
|
|
depends on MTD_NAND_DISKONCHIP_PROBE_ADVANCED
|
|
|
|
help
|
|
|
|
By default, the probe for DiskOnChip devices will look for a
|
|
|
|
DiskOnChip at every multiple of 0x2000 between 0xC8000 and 0xEE000.
|
|
|
|
This option changes to make it probe between 0xFFFC8000 and
|
|
|
|
0xFFFEE000. Unless you are using LinuxBIOS, this is unlikely to be
|
|
|
|
useful to you. Say 'N'.
|
|
|
|
|
|
|
|
config MTD_NAND_DISKONCHIP_BBTWRITE
|
|
|
|
bool "Allow BBT writes on DiskOnChip Millennium and 2000TSOP"
|
|
|
|
depends on MTD_NAND_DISKONCHIP
|
|
|
|
help
|
|
|
|
On DiskOnChip devices shipped with the INFTL filesystem (Millennium
|
|
|
|
and 2000 TSOP/Alon), Linux reserves some space at the end of the
|
|
|
|
device for the Bad Block Table (BBT). If you have existing INFTL
|
|
|
|
data on your device (created by non-Linux tools such as M-Systems'
|
|
|
|
DOS drivers), your data might overlap the area Linux wants to use for
|
|
|
|
the BBT. If this is a concern for you, leave this option disabled and
|
|
|
|
Linux will not write BBT data into this area.
|
|
|
|
The downside of leaving this option disabled is that if bad blocks
|
|
|
|
are detected by Linux, they will not be recorded in the BBT, which
|
|
|
|
could cause future problems.
|
|
|
|
Once you enable this option, new filesystems (INFTL or others, created
|
|
|
|
in Linux or other operating systems) will not use the reserved area.
|
|
|
|
The only reason not to enable this option is to prevent damage to
|
|
|
|
preexisting filesystems.
|
|
|
|
Even if you leave this disabled, you can enable BBT writes at module
|
|
|
|
load time (assuming you build diskonchip as a module) with the module
|
|
|
|
parameter "inftl_bbt_write=1".
|
|
|
|
|
2019-02-06 23:47:44 +08:00
|
|
|
endif # MTD_RAW_NAND
|