URL
https://opencores.org/ocsvn/test_project/test_project/trunk
Subversion Repositories test_project
[/] [test_project/] [trunk/] [linux_sd_driver/] [drivers/] [mtd/] [chips/] [Kconfig] - Rev 79
Go to most recent revision | Compare with Previous | Blame | View Log
# drivers/mtd/chips/Kconfigmenu "RAM/ROM/Flash chip drivers"depends on MTD!=nconfig MTD_CFItristate "Detect flash chips by Common Flash Interface (CFI) probe"select MTD_GEN_PROBEhelpThe Common Flash Interface specification was developed by Intel,AMD and other flash manufactures that provides a universal methodfor probing the capabilities of flash devices. If you wish tosupport any device that is CFI-compliant, you need to enable thisoption. Visit <http://www.amd.com/products/nvd/overview/cfi.html>for more information on CFI.config MTD_JEDECPROBEtristate "Detect non-CFI AMD/JEDEC-compatible flash chips"select MTD_GEN_PROBEhelpThis option enables JEDEC-style probing of flash chips which are notcompatible with the Common Flash Interface, but will use the commonCFI-targetted flash drivers for any chips which are identified whichare in fact compatible in all but the probe method. This actuallycovers most AMD/Fujitsu-compatible chips and also non-CFIIntel chips.config MTD_GEN_PROBEtristateconfig MTD_CFI_ADV_OPTIONSbool "Flash chip driver advanced configuration options"depends on MTD_GEN_PROBEhelpIf you need to specify a specific endianness for access to flashchips, or if you wish to reduce the size of the kernel by includingsupport for only specific arrangements of flash chips, say 'Y'. Thisoption does not directly affect the code, but will enable otherconfiguration options which allow you to do so.If unsure, say 'N'.choiceprompt "Flash cmd/query data swapping"depends on MTD_CFI_ADV_OPTIONSdefault MTD_CFI_NOSWAPconfig MTD_CFI_NOSWAPbool "NO"---help---This option defines the way in which the CPU attempts to arrangedata bits when writing the 'magic' commands to the chips. Saying'NO', which is the default when CONFIG_MTD_CFI_ADV_OPTIONS isn'tenabled, means that the CPU will not do any swapping; the chipsare expected to be wired to the CPU in 'host-endian' form.Specific arrangements are possible with the BIG_ENDIAN_BYTE andLITTLE_ENDIAN_BYTE, if the bytes are reversed.If you have a LART, on which the data (and address) lines wereconnected in a fashion which ensured that the nets were as shortas possible, resulting in a bit-shuffling which seems utterlyrandom to the untrained eye, you need the LART_ENDIAN_BYTE option.Yes, there really exists something sicker than PDP-endian :)config MTD_CFI_BE_BYTE_SWAPbool "BIG_ENDIAN_BYTE"config MTD_CFI_LE_BYTE_SWAPbool "LITTLE_ENDIAN_BYTE"endchoiceconfig MTD_CFI_GEOMETRYbool "Specific CFI Flash geometry selection"depends on MTD_CFI_ADV_OPTIONShelpThis option does not affect the code directly, but will enablesome other configuration options which would allow you to reducethe size of the kernel by including support for only certainarrangements of CFI chips. If unsure, say 'N' and all optionswhich are supported by the current code will be enabled.config MTD_MAP_BANK_WIDTH_1bool "Support 8-bit buswidth" if MTD_CFI_GEOMETRYdefault yhelpIf you wish to support CFI devices on a physical bus which is8 bits wide, say 'Y'.config MTD_MAP_BANK_WIDTH_2bool "Support 16-bit buswidth" if MTD_CFI_GEOMETRYdefault yhelpIf you wish to support CFI devices on a physical bus which is16 bits wide, say 'Y'.config MTD_MAP_BANK_WIDTH_4bool "Support 32-bit buswidth" if MTD_CFI_GEOMETRYdefault yhelpIf you wish to support CFI devices on a physical bus which is32 bits wide, say 'Y'.config MTD_MAP_BANK_WIDTH_8bool "Support 64-bit buswidth" if MTD_CFI_GEOMETRYdefault nhelpIf you wish to support CFI devices on a physical bus which is64 bits wide, say 'Y'.config MTD_MAP_BANK_WIDTH_16bool "Support 128-bit buswidth" if MTD_CFI_GEOMETRYdefault nhelpIf you wish to support CFI devices on a physical bus which is128 bits wide, say 'Y'.config MTD_MAP_BANK_WIDTH_32bool "Support 256-bit buswidth" if MTD_CFI_GEOMETRYdefault nhelpIf you wish to support CFI devices on a physical bus which is256 bits wide, say 'Y'.config MTD_CFI_I1bool "Support 1-chip flash interleave" if MTD_CFI_GEOMETRYdefault yhelpIf your flash chips are not interleaved - i.e. you only have oneflash chip addressed by each bus cycle, then say 'Y'.config MTD_CFI_I2bool "Support 2-chip flash interleave" if MTD_CFI_GEOMETRYdefault yhelpIf your flash chips are interleaved in pairs - i.e. you have twoflash chips addressed by each bus cycle, then say 'Y'.config MTD_CFI_I4bool "Support 4-chip flash interleave" if MTD_CFI_GEOMETRYdefault nhelpIf your flash chips are interleaved in fours - i.e. you have fourflash chips addressed by each bus cycle, then say 'Y'.config MTD_CFI_I8bool "Support 8-chip flash interleave" if MTD_CFI_GEOMETRYdefault nhelpIf your flash chips are interleaved in eights - i.e. you have eightflash chips addressed by each bus cycle, then say 'Y'.config MTD_OTPbool "Protection Registers aka one-time programmable (OTP) bits"depends on MTD_CFI_ADV_OPTIONSdefault nhelpThis enables support for reading, writing and locking so called"Protection Registers" present on some flash chips.A subset of them are pre-programmed at the factory with aunique set of values. The rest is user-programmable.The user-programmable Protection Registers contain one-timeprogrammable (OTP) bits; when programmed, register bits cannot beerased. Each Protection Register can be accessed multiple times toprogram individual bits, as long as the register remains unlocked.Each Protection Register has an associated Lock Register bit. When aLock Register bit is programmed, the associated Protection Registercan only be read; it can no longer be programmed. Additionally,because the Lock Register bits themselves are OTP, when programmed,Lock Register bits cannot be erased. Therefore, when a ProtectionRegister is locked, it cannot be unlocked.This feature should therefore be used with extreme care. Any mistakein the programming of OTP bits will waste them.config MTD_CFI_INTELEXTtristate "Support for Intel/Sharp flash chips"depends on MTD_GEN_PROBEselect MTD_CFI_UTILhelpThe Common Flash Interface defines a number of different commandsets which a CFI-compliant chip may claim to implement. This codeprovides support for one of those command sets, used on IntelStrataFlash and other parts.config MTD_CFI_AMDSTDtristate "Support for AMD/Fujitsu flash chips"depends on MTD_GEN_PROBEselect MTD_CFI_UTILhelpThe Common Flash Interface defines a number of different commandsets which a CFI-compliant chip may claim to implement. This codeprovides support for one of those command sets, used on chipsincluding the AMD Am29LV320.config MTD_CFI_STAAtristate "Support for ST (Advanced Architecture) flash chips"depends on MTD_GEN_PROBEselect MTD_CFI_UTILhelpThe Common Flash Interface defines a number of different commandsets which a CFI-compliant chip may claim to implement. This codeprovides support for one of those command sets.config MTD_CFI_UTILtristateconfig MTD_RAMtristate "Support for RAM chips in bus mapping"helpThis option enables basic support for RAM chips accessed througha bus mapping driver.config MTD_ROMtristate "Support for ROM chips in bus mapping"helpThis option enables basic support for ROM chips accessed througha bus mapping driver.config MTD_ABSENTtristate "Support for absent chips in bus mapping"helpThis option enables support for a dummy probing driver used toallocated placeholder MTD devices on systems that have socketedor removable media. Use of this driver as a fallback chip probepreserves the expected registration order of MTD device nodes onthe system regardless of media presence. Device nodes createdwith this driver will return -ENODEV upon access.config MTD_XIPbool "XIP aware MTD support"depends on !SMP && (MTD_CFI_INTELEXT || MTD_CFI_AMDSTD) && EXPERIMENTAL && ARCH_MTD_XIPdefault y if XIP_KERNELhelpThis allows MTD support to work with flash memory which is alsoused for XIP purposes. If you're not sure what this is all aboutthen say N.endmenu
Go to most recent revision | Compare with Previous | Blame | View Log
