xref: /openbmc/u-boot/drivers/mtd/Kconfig (revision 1b965432)
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_NOR_FLASH
15	bool "Enable parallel NOR flash support"
16	help
17	  Enable support for parallel NOR flash.
18
19config MTD_DEVICE
20	bool "Enable MTD Device for NAND and ONENAND devices"
21	help
22	  Adds the MTD device infrastructure from the Linux kernel.
23	  Needed for mtdparts command support.
24
25config MTD_PARTITIONS
26	bool "Add MTD Partioning infrastructure"
27	help
28	  Adds the MTD partitioning infrastructure from the Linux
29	  kernel. Needed for UBI support.
30
31config CFI_FLASH
32	bool "Enable Driver Model for CFI Flash driver"
33	depends on MTD
34	help
35	  The Common Flash Interface specification was developed by Intel,
36	  AMD and other flash manufactures. It provides a universal method
37	  for probing the capabilities of flash devices. If you wish to
38	  support any device that is CFI-compliant, you need to enable this
39	  option. Visit <http://www.amd.com/products/nvd/overview/cfi.html>
40	  for more information on CFI.
41
42config ALTERA_QSPI
43	bool "Altera Generic Quad SPI Controller"
44	depends on MTD
45	help
46	  This enables access to Altera EPCQ/EPCS flash chips using the
47	  Altera Generic Quad SPI Controller. The controller converts SPI
48	  NOR flash to parallel flash interface. Please find details on the
49	  "Embedded Peripherals IP User Guide" of Altera.
50
51config FLASH_PIC32
52	bool "Microchip PIC32 Flash driver"
53	depends on MACH_PIC32 && MTD
54	help
55	  This enables access to Microchip PIC32 internal non-CFI flash
56	  chips through PIC32 Non-Volatile-Memory Controller.
57
58config RENESAS_RPC_HF
59	bool "Renesas RCar Gen3 RPC Hyperflash driver"
60	depends on RCAR_GEN3 && MTD
61	help
62	  This enables access to Hyperflash memory through the Renesas
63	  RCar Gen3 RPC controller.
64
65source "drivers/mtd/nand/Kconfig"
66
67source "drivers/mtd/spi/Kconfig"
68
69source "drivers/mtd/ubi/Kconfig"
70
71endmenu
72