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