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