xref: /rk3399_rockchip-uboot/drivers/mtd/Kconfig (revision fe85de89e43efd43a175b1ece864ce20f4f1244d)
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_NOR_FLASH
21	bool "Enable parallel NOR flash support"
22	help
23	  Enable support for parallel NOR flash.
24
25config MTD_DEVICE
26	bool "Enable MTD Device for NAND and ONENAND devices"
27	help
28	  Adds the MTD device infrastructure from the Linux kernel.
29	  Needed for mtdparts command support.
30
31config MTD_PARTITIONS
32	bool "Add MTD Partioning infrastructure"
33	help
34	  Adds the MTD partitioning infrastructure from the Linux
35	  kernel. Needed for UBI support.
36
37config CFI_FLASH
38	bool "Enable Driver Model for CFI Flash driver"
39	depends on MTD
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 ALTERA_QSPI
49	bool "Altera Generic Quad SPI Controller"
50	depends on MTD
51	help
52	  This enables access to Altera EPCQ/EPCS flash chips using the
53	  Altera Generic Quad SPI Controller. The controller converts SPI
54	  NOR flash to parallel flash interface. Please find details on the
55	  "Embedded Peripherals IP User Guide" of Altera.
56
57config FLASH_PIC32
58	bool "Microchip PIC32 Flash driver"
59	depends on MACH_PIC32 && MTD
60	help
61	  This enables access to Microchip PIC32 internal non-CFI flash
62	  chips through PIC32 Non-Volatile-Memory Controller.
63
64config RENESAS_RPC_HF
65	bool "Renesas RCar Gen3 RPC Hyperflash driver"
66	depends on RCAR_GEN3 && MTD
67	help
68	  This enables access to Hyperflash memory through the Renesas
69	  RCar Gen3 RPC controller.
70
71source "drivers/mtd/nand/Kconfig"
72
73source "drivers/mtd/spi/Kconfig"
74
75source "drivers/mtd/ubi/Kconfig"
76
77endmenu
78