URL
https://opencores.org/ocsvn/test_project/test_project/trunk
Subversion Repositories test_project
[/] [test_project/] [trunk/] [linux_sd_driver/] [drivers/] [mtd/] [devices/] [Kconfig] - Rev 62
Compare with Previous | Blame | View Log
# drivers/mtd/maps/Kconfig# $Id: Kconfig,v 1.18 2005/11/07 11:14:24 gleixner Exp $menu "Self-contained MTD device drivers"depends on MTD!=nconfig MTD_PMC551tristate "Ramix PMC551 PCI Mezzanine RAM card support"depends on PCI---help---This provides a MTD device driver for the Ramix PMC551 RAM PCI cardfrom Ramix Inc. <http://www.ramix.com/products/memory/pmc551.html>.These devices come in memory configurations from 32M - 1G. If youhave one, you probably want to enable this.If this driver is compiled as a module you get the ability to selectthe size of the aperture window pointing into the devices memory.What this means is that if you have a 1G card, normally the kernelwill 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 wasparticularly useful on the 2.2 kernels on PPC architectures as therewas limited kernel space to deal with.config MTD_PMC551_BUGFIXbool "PMC551 256M DRAM Bugfix"depends on MTD_PMC551helpSome of Ramix's PMC551 boards with 256M configurations have invalidcolumn and row mux values. This option will fix them, but willbreak other memory configurations. If unsure say N.config MTD_PMC551_DEBUGbool "PMC551 Debugging"depends on MTD_PMC551helpThis option makes the PMC551 more verbose during its operation andis only really useful if you are developing on this driver orsuspect a possible hardware or driver bug. If unsure say N.config MTD_MS02NVtristate "DEC MS02-NV NVRAM module support"depends on MACH_DECSTATIONhelpThis is an MTD driver for the DEC's MS02-NV (54-20948-01) batterybacked-up NVRAM module. The module was originally meant as an NFSaccelerator. Say Y here if you have a DECstation 5000/2x0 or aDECsystem 5900 equipped with such a module.If you want to compile this driver as a module ( = code which can beinserted in and removed from the running kernel whenever you want),say M here and read <file:Documentation/kbuild/modules.txt>.The module will be called ms02-nv.ko.config MTD_DATAFLASHtristate "Support for AT45xxx DataFlash"depends on SPI_MASTER && EXPERIMENTALhelpThis enables access to AT45xxx DataFlash chips, using SPI.Sometimes DataFlash chips are packaged inside MMC-formatcards; at this writing, the MMC stack won't handle those.config MTD_M25P80tristate "Support most SPI Flash chips (AT26DF, M25P, W25X, ...)"depends on SPI_MASTER && EXPERIMENTALhelpThis enables access to most modern SPI flash chips, used forprogram and data storage. Series supported include Atmel AT26DF,Spansion S25SL, SST 25VF, ST M25P, and Winbond W25X. Other chipsare supported as well. See the driver source for the current list,or to add other chips.Note that the original DataFlash chips (AT45 series, not AT26DF),need an entirely different driver.Set up your spi devices with the right board-specific platform data,if you want to specify device partitioning or to use a device whichdoesn't support the JEDEC ID instruction.config MTD_SLRAMtristate "Uncached system RAM"helpIf 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 topresent it to the system as a Memory Technology Device.config MTD_PHRAMtristate "Physical system RAM"helpThis is a re-implementation of the slram driver above.Use this driver to access physical memory that the kernel properdoesn't have access to, memory beyond the mem=xxx limit, nvram,memory on the video card, etc...config MTD_LARTtristate "28F160xx flash driver for LART"depends on SA1100_LARThelpThis enables the flash driver for LART. Please note that you donot need any mapping/chip driver for LART. This one does it allfor you, so go disable all of those if you enabled some of them (:config MTD_MTDRAMtristate "Test driver using RAM"helpThis enables a test MTD device driver which uses vmalloc() toprovide storage. You probably want to say 'N' unless you'retesting stuff.config MTDRAM_TOTAL_SIZEint "MTDRAM device size in KiB"depends on MTD_MTDRAMdefault "4096"helpThis allows you to configure the total size of the MTD deviceemulated by the MTDRAM driver. If the MTDRAM driver is builtas a module, it is also possible to specify this as a parameter whenloading the module.config MTDRAM_ERASE_SIZEint "MTDRAM erase block size in KiB"depends on MTD_MTDRAMdefault "128"helpThis allows you to configure the size of the erase blocks in thedevice emulated by the MTDRAM driver. If the MTDRAM driver is builtas a module, it is also possible to specify this as a parameter whenloading the module.#If not a module (I don't want to test it as a module)config MTDRAM_ABS_POShex "SRAM Hexadecimal Absolute position or 0"depends on MTD_MTDRAM=ydefault "0"helpIf you have system RAM accessible by the CPU but not used by Linuxin normal operation, you can give the physical address at which theavailable RAM starts, and the MTDRAM driver will use it instead ofallocating space from Linux's available memory. Otherwise, leavethis set to zero. Most people will want to leave this as zero.config MTD_BLOCK2MTDtristate "MTD using block device"depends on BLOCKhelpThis driver allows a block device to appear as an MTD. It wouldgenerally be used in the following cases:Using Compact Flash as an MTD, these usually present themselves tothe system as an ATA drive.Testing MTD users (eg JFFS2) on large media and media that mightbe removed during a write (using the floppy drive).comment "Disk-On-Chip Device Drivers"config MTD_DOC2000tristate "M-Systems Disk-On-Chip 2000 and Millennium (DEPRECATED)"select MTD_DOCPROBEselect MTD_NAND_IDS---help---This provides an MTD device driver for the M-Systems DiskOnChip2000 and Millennium devices. Originally designed for the DiskOnChip2000, it also now includes support for the DiskOnChip Millennium.If you have problems with this driver and the DiskOnChip Millennium,you may wish to try the alternative Millennium driver below. To usethe alternative driver, you will need to undefine DOC_SINGLE_DRIVERin the <file:drivers/mtd/devices/docprobe.c> source code.If you use this device, you probably also want to enable the NFTL'NAND Flash Translation Layer' option below, which is used toemulate a block device by using a kind of file system on the flashchips.NOTE: This driver is deprecated and will probably be removed soon.Please try the new DiskOnChip driver under "NAND Flash DeviceDrivers".config MTD_DOC2001tristate "M-Systems Disk-On-Chip Millennium-only alternative driver (DEPRECATED)"select MTD_DOCPROBEselect MTD_NAND_IDS---help---This provides an alternative MTD device driver for the M-SystemsDiskOnChip Millennium devices. Use this if you have problems withthe combined DiskOnChip 2000 and Millennium driver above. To getthe DiskOnChip probe code to load and use this driver instead ofthe other one, you will need to undefine DOC_SINGLE_DRIVER nearthe beginning of <file:drivers/mtd/devices/docprobe.c>.If you use this device, you probably also want to enable the NFTL'NAND Flash Translation Layer' option below, which is used toemulate a block device by using a kind of file system on the flashchips.NOTE: This driver is deprecated and will probably be removed soon.Please try the new DiskOnChip driver under "NAND Flash DeviceDrivers".config MTD_DOC2001PLUStristate "M-Systems Disk-On-Chip Millennium Plus"select MTD_DOCPROBEselect MTD_NAND_IDS---help---This provides an MTD device driver for the M-Systems DiskOnChipMillennium Plus devices.If you use this device, you probably also want to enable the INFTL'Inverse NAND Flash Translation Layer' option below, which is usedto emulate a block device by using a kind of file system on theflash chips.NOTE: This driver will soon be replaced by the new DiskOnChip driverunder "NAND Flash Device Drivers" (currently that driver does notsupport all Millennium Plus devices).config MTD_DOCPROBEtristateselect MTD_DOCECCconfig MTD_DOCECCtristateconfig MTD_DOCPROBE_ADVANCEDbool "Advanced detection options for DiskOnChip"depends on MTD_DOCPROBEhelpThis option allows you to specify nonstandard address at which toprobe for a DiskOnChip, or to change the detection options. Youare unlikely to need any of this unless you are using LinuxBIOS.Say 'N'.config MTD_DOCPROBE_ADDRESShex "Physical address of DiskOnChip" if MTD_DOCPROBE_ADVANCEDdepends on MTD_DOCPROBEdefault "0x0000" if MTD_DOCPROBE_ADVANCEDdefault "0" if !MTD_DOCPROBE_ADVANCED---help---By default, the probe for DiskOnChip devices will look for aDiskOnChip at every multiple of 0x2000 between 0xC8000 and 0xEE000.This option allows you to specify a single address at which to probefor the device, which is useful if you have other devices in thatrange which get upset when they are probed.(Note that on PowerPC, the normal probe will only check at0xE4000000.)Normally, you should leave this set to zero, to allow the probe atthe normal addresses.config MTD_DOCPROBE_HIGHbool "Probe high addresses"depends on MTD_DOCPROBE_ADVANCEDhelpBy default, the probe for DiskOnChip devices will look for aDiskOnChip at every multiple of 0x2000 between 0xC8000 and 0xEE000.This option changes to make it probe between 0xFFFC8000 and0xFFFEE000. Unless you are using LinuxBIOS, this is unlikely to beuseful to you. Say 'N'.config MTD_DOCPROBE_55AAbool "Probe for 0x55 0xAA BIOS Extension Signature"depends on MTD_DOCPROBE_ADVANCEDhelpCheck for the 0x55 0xAA signature of a DiskOnChip, and do notcontinue with probing if it is absent. The signature will always bepresent for a DiskOnChip 2000 or a normal DiskOnChip Millennium.Only if you have overwritten the first block of a DiskOnChipMillennium will it be absent. Enable this option if you are usingLinuxBIOS or if you need to recover a DiskOnChip Millennium on whichyou have managed to wipe the first block.endmenu
