Kconfig

Self-contained MTD device drivers

CONFIG_MTD_PMC551 Ramix PMC551 PCI Mezzanine RAM card support

  • Off
  • Module
  • Built in

This provides a MTD device driver for the Ramix PMC551 RAM PCI card from Ramix Inc. <http://www.ramix.com/products/memory/pmc551.html>. These devices come in memory configurations from 32M - 1G. If you have one, you probably want to enable this.

If this driver is compiled as a module you get the ability to select the size of the aperture window pointing into the devices memory. What this means is that if you have a 1G card, normally the kernel will use a 1G memory map as its view of the device. As a module, you can select a 1M window into the memory and the driver will "slide" the window around the PMC551's memory. This was particularly useful on the 2.2 kernels on PPC architectures as there was limited kernel space to deal with.

If MTD_PMC551

CONFIG_MTD_PMC551_BUGFIX PMC551 256M DRAM Bugfix

On

Some of Ramix's PMC551 boards with 256M configurations have invalid column and row mux values. This option will fix them, but will break other memory configurations. If unsure say N.

CONFIG_MTD_PMC551_DEBUG PMC551 Debugging

On

This option makes the PMC551 more verbose during its operation and is only really useful if you are developing on this driver or suspect a possible hardware or driver bug. If unsure say N.

CONFIG_MTD_MS02NV DEC MS02-NV NVRAM module support

  • Off
  • Module
  • Built in
Unknown

This is an MTD driver for the DEC's MS02-NV (54-20948-01) battery backed-up NVRAM module. The module was originally meant as an NFS accelerator. Say Y here if you have a DECstation 5000/2x0 or a DECsystem 5900 equipped with such a module.

If you want to compile this driver as a module ( = code which can be inserted in and removed from the running kernel whenever you want), say M here and read <file:Documentation/kbuild/modules.rst>. The module will be called ms02-nv.

CONFIG_MTD_DATAFLASH Support for AT45xxx DataFlash

  • Off
  • Module
  • Built in

This enables access to AT45xxx DataFlash chips, using SPI. Sometimes DataFlash chips are packaged inside MMC-format cards; at this writing, the MMC stack won't handle those.

If MTD_DATAFLASH

CONFIG_MTD_DATAFLASH_WRITE_VERIFY Verify DataFlash page writes

On

This adds an extra check when data is written to the flash. It may help if you are verifying chip setup (timings etc) on your board. There is a rare possibility that even though the device thinks the write was successful, a bit could have been flipped accidentally due to device wear or something else.

CONFIG_MTD_DATAFLASH_OTP DataFlash OTP support (Security Register)

On

Newer DataFlash chips (revisions C and D) support 128 bytes of one-time-programmable (OTP) data. The first half may be written (once) with up to 64 bytes of data, such as a serial number or other key product data. The second half is programmed with a unique-to-each-chip bit pattern at the factory.

CONFIG_MTD_MCHP23K256 Microchip 23K256 SRAM

  • Off
  • Module
  • Built in

This enables access to Microchip 23K256 SRAM chips, using SPI.

Set up your spi devices with the right board-specific platform data, or a device tree description if you want to specify device partitioning

CONFIG_MTD_MCHP48L640 Microchip 48L640 EERAM

  • Off
  • Module
  • Built in

This enables access to Microchip 48L640 EERAM chips, using SPI.

CONFIG_MTD_SST25L Support SST25L (non JEDEC) SPI Flash chips

  • Off
  • Module
  • Built in

This enables access to the non JEDEC SST25L SPI flash chips, used for program and data storage.

Set up your spi devices with the right board-specific platform data, if you want to specify device partitioning.

CONFIG_MTD_BCM47XXSFLASH Support for serial flash on BCMA bus

  • Off
  • Module
  • Built in
Unknown

BCMA bus can have various flash memories attached, they are registered by bcma as platform devices. This enables driver for serial flash memories.

CONFIG_MTD_SLRAM Uncached system RAM

  • Off
  • Module
  • Built in

If your CPU cannot cache all of the physical memory in your machine, you can still use it for storage or swap by using this driver to present it to the system as a Memory Technology Device.

CONFIG_MTD_PHRAM Physical system RAM

  • Off
  • Module
  • Built in

This is a re-implementation of the slram driver above.

Use this driver to access physical memory that the kernel proper doesn't have access to, memory beyond the mem=xxx limit, nvram, memory on the video card, etc...

CONFIG_MTD_MTDRAM Test driver using RAM

  • Off
  • Module
  • Built in

This enables a test MTD device driver which uses vmalloc() to provide storage. You probably want to say 'N' unless you're testing stuff.

If MTD_MTDRAM

CONFIG_MTDRAM_TOTAL_SIZE MTDRAM device size in KiB

This allows you to configure the total size of the MTD device emulated by the MTDRAM driver. If the MTDRAM driver is built as a module, it is also possible to specify this as a parameter when loading the module.

CONFIG_MTDRAM_ERASE_SIZE MTDRAM erase block size in KiB

This allows you to configure the size of the erase blocks in the device emulated by the MTDRAM driver. If the MTDRAM driver is built as a module, it is also possible to specify this as a parameter when loading the module.

CONFIG_MTD_BLOCK2MTD MTD using block device

  • Off
  • Module
  • Built in

This driver allows a block device to appear as an MTD. It would generally be used in the following cases:

Using Compact Flash as an MTD, these usually present themselves to the system as an ATA drive. Testing MTD users (eg JFFS2) on large media and media that might be removed during a write (using the floppy drive).

CONFIG_MTD_POWERNV_FLASH powernv flash MTD driver

  • Off
  • Module
  • Built in
Unknown

This provides an MTD device to access flash on powernv OPAL platforms from Linux. This device abstracts away the firmware interface for flash access.

CONFIG_MTD_INTEL_DG Intel Discrete Graphics non-volatile memory driver

  • Off
  • Module
  • Built in

This provides an MTD device to access Intel Discrete Graphics non-volatile memory.

To compile this driver as a module, choose M here: the module will be called mtd-intel-dg.

Disk-On-Chip Device Drivers

CONFIG_MTD_ST_SPI_FSM ST Microelectronics SPI FSM Serial Flash Controller

  • Off
  • Module
  • Built in
Unknown

This provides an MTD device driver for the ST Microelectronics SPI Fast Sequence Mode (FSM) Serial Flash Controller and support for a subset of connected Serial Flash devices.

If MTD_DOCG3