xref: /OK3568_Linux_fs/u-boot/drivers/mtd/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunmenu "MTD Support"
2*4882a593Smuzhiyun
3*4882a593Smuzhiyunconfig MTD_PARTITIONS
4*4882a593Smuzhiyun	bool
5*4882a593Smuzhiyun
6*4882a593Smuzhiyunconfig MTD
7*4882a593Smuzhiyun	bool "Enable Driver Model for MTD drivers"
8*4882a593Smuzhiyun	depends on DM
9*4882a593Smuzhiyun	help
10*4882a593Smuzhiyun	  Enable driver model for Memory Technology Devices (MTD), such as
11*4882a593Smuzhiyun	  flash, RAM and similar chips, often used for solid state file
12*4882a593Smuzhiyun	  systems on embedded devices.
13*4882a593Smuzhiyun
14*4882a593Smuzhiyunconfig MTD_BLK
15*4882a593Smuzhiyun	bool "Enable mtd block model for MTD drivers"
16*4882a593Smuzhiyun	depends on MTD
17*4882a593Smuzhiyun	help
18*4882a593Smuzhiyun	  Enable mtd block model for Memory Technology Devices (MTD).
19*4882a593Smuzhiyun
20*4882a593Smuzhiyunconfig MTD_WRITE
21*4882a593Smuzhiyun	bool "support for nand & spi nand & spi nor write operations"
22*4882a593Smuzhiyun	depends on MTD_BLK
23*4882a593Smuzhiyun	default y
24*4882a593Smuzhiyun	help
25*4882a593Smuzhiyun	  Enable write access to nand & spi nand & spi nor
26*4882a593Smuzhiyun
27*4882a593Smuzhiyunconfig MTD_NOR_FLASH
28*4882a593Smuzhiyun	bool "Enable parallel NOR flash support"
29*4882a593Smuzhiyun	help
30*4882a593Smuzhiyun	  Enable support for parallel NOR flash.
31*4882a593Smuzhiyun
32*4882a593Smuzhiyunconfig MTD_DEVICE
33*4882a593Smuzhiyun	bool "Enable MTD Device for NAND and ONENAND devices"
34*4882a593Smuzhiyun	help
35*4882a593Smuzhiyun	  Adds the MTD device infrastructure from the Linux kernel.
36*4882a593Smuzhiyun	  Needed for mtdparts command support.
37*4882a593Smuzhiyun
38*4882a593Smuzhiyunconfig FLASH_CFI_DRIVER
39*4882a593Smuzhiyun	bool "Enable CFI Flash driver"
40*4882a593Smuzhiyun	help
41*4882a593Smuzhiyun	  The Common Flash Interface specification was developed by Intel,
42*4882a593Smuzhiyun	  AMD and other flash manufactures. It provides a universal method
43*4882a593Smuzhiyun	  for probing the capabilities of flash devices. If you wish to
44*4882a593Smuzhiyun	  support any device that is CFI-compliant, you need to enable this
45*4882a593Smuzhiyun	  option. Visit <http://www.amd.com/products/nvd/overview/cfi.html>
46*4882a593Smuzhiyun	  for more information on CFI.
47*4882a593Smuzhiyun
48*4882a593Smuzhiyunconfig CFI_FLASH
49*4882a593Smuzhiyun	bool "Enable Driver Model for CFI Flash driver"
50*4882a593Smuzhiyun	depends on MTD
51*4882a593Smuzhiyun	help
52*4882a593Smuzhiyun	  The Common Flash Interface specification was developed by Intel,
53*4882a593Smuzhiyun	  AMD and other flash manufactures. It provides a universal method
54*4882a593Smuzhiyun	  for probing the capabilities of flash devices. If you wish to
55*4882a593Smuzhiyun	  support any device that is CFI-compliant, you need to enable this
56*4882a593Smuzhiyun	  option. Visit <http://www.amd.com/products/nvd/overview/cfi.html>
57*4882a593Smuzhiyun	  for more information on CFI.
58*4882a593Smuzhiyun
59*4882a593Smuzhiyunconfig ALTERA_QSPI
60*4882a593Smuzhiyun	bool "Altera Generic Quad SPI Controller"
61*4882a593Smuzhiyun	depends on MTD
62*4882a593Smuzhiyun	help
63*4882a593Smuzhiyun	  This enables access to Altera EPCQ/EPCS flash chips using the
64*4882a593Smuzhiyun	  Altera Generic Quad SPI Controller. The controller converts SPI
65*4882a593Smuzhiyun	  NOR flash to parallel flash interface. Please find details on the
66*4882a593Smuzhiyun	  "Embedded Peripherals IP User Guide" of Altera.
67*4882a593Smuzhiyun
68*4882a593Smuzhiyunconfig FLASH_PIC32
69*4882a593Smuzhiyun	bool "Microchip PIC32 Flash driver"
70*4882a593Smuzhiyun	depends on MACH_PIC32 && MTD
71*4882a593Smuzhiyun	help
72*4882a593Smuzhiyun	  This enables access to Microchip PIC32 internal non-CFI flash
73*4882a593Smuzhiyun	  chips through PIC32 Non-Volatile-Memory Controller.
74*4882a593Smuzhiyun
75*4882a593Smuzhiyunconfig RENESAS_RPC_HF
76*4882a593Smuzhiyun	bool "Renesas RCar Gen3 RPC Hyperflash driver"
77*4882a593Smuzhiyun	depends on RCAR_GEN3 && MTD
78*4882a593Smuzhiyun	help
79*4882a593Smuzhiyun	  This enables access to Hyperflash memory through the Renesas
80*4882a593Smuzhiyun	  RCar Gen3 RPC controller.
81*4882a593Smuzhiyun
82*4882a593Smuzhiyunsource "drivers/mtd/nand/Kconfig"
83*4882a593Smuzhiyun
84*4882a593Smuzhiyunsource "drivers/mtd/spi/Kconfig"
85*4882a593Smuzhiyun
86*4882a593Smuzhiyunsource "drivers/mtd/ubi/Kconfig"
87*4882a593Smuzhiyun
88*4882a593Smuzhiyunendmenu
89