xref: /openbmc/u-boot/drivers/mtd/Kconfig (revision 9c5b00973bceb7c0192bd6b03672d69b092700b4)
1d8587993SThomas Choumenu "MTD Support"
2d8587993SThomas Chou
3d8587993SThomas Chouconfig MTD
4d8587993SThomas Chou	bool "Enable Driver Model for MTD drivers"
5d8587993SThomas Chou	depends on DM
6d8587993SThomas Chou	help
7d8587993SThomas Chou	  Enable driver model for Memory Technology Devices (MTD), such as
8d8587993SThomas Chou	  flash, RAM and similar chips, often used for solid state file
9d8587993SThomas Chou	  systems on embedded devices.
10d8587993SThomas Chou
11e856bdcfSMasahiro Yamadaconfig MTD_NOR_FLASH
12e856bdcfSMasahiro Yamada	bool "Enable parallel NOR flash support"
13e856bdcfSMasahiro Yamada	help
14e856bdcfSMasahiro Yamada	  Enable support for parallel NOR flash.
15e856bdcfSMasahiro Yamada
16*9c5b0097SAdam Fordconfig MTD_DEVICE
17*9c5b0097SAdam Ford	bool "Enable MTD Device for NAND and ONENAND devices"
18*9c5b0097SAdam Ford	help
19*9c5b0097SAdam Ford	  Adds the MTD device infrastructure from the Linux kernel.
20*9c5b0097SAdam Ford	  Needed for mtdparts command support.
21*9c5b0097SAdam Ford
22*9c5b0097SAdam Fordconfig MTD_PARTITIONS
23*9c5b0097SAdam Ford	bool "Add MTD Partioning infrastructure"
24*9c5b0097SAdam Ford	help
25*9c5b0097SAdam Ford	  Adds the MTD partitioning infrastructure from the Linux
26*9c5b0097SAdam Ford	  kernel. Needed for UBI support.
27*9c5b0097SAdam Ford
28f1056910SThomas Chouconfig CFI_FLASH
29f1056910SThomas Chou	bool "Enable Driver Model for CFI Flash driver"
30f1056910SThomas Chou	depends on MTD
31f1056910SThomas Chou	help
32f1056910SThomas Chou	  The Common Flash Interface specification was developed by Intel,
33f1056910SThomas Chou	  AMD and other flash manufactures. It provides a universal method
34f1056910SThomas Chou	  for probing the capabilities of flash devices. If you wish to
35f1056910SThomas Chou	  support any device that is CFI-compliant, you need to enable this
36f1056910SThomas Chou	  option. Visit <http://www.amd.com/products/nvd/overview/cfi.html>
37f1056910SThomas Chou	  for more information on CFI.
38f1056910SThomas Chou
3938a0f36eSThomas Chouconfig ALTERA_QSPI
4038a0f36eSThomas Chou	bool "Altera Generic Quad SPI Controller"
4138a0f36eSThomas Chou	depends on MTD
4238a0f36eSThomas Chou	help
4338a0f36eSThomas Chou	  This enables access to Altera EPCQ/EPCS flash chips using the
4438a0f36eSThomas Chou	  Altera Generic Quad SPI Controller. The controller converts SPI
4538a0f36eSThomas Chou	  NOR flash to parallel flash interface. Please find details on the
4638a0f36eSThomas Chou	  "Embedded Peripherals IP User Guide" of Altera.
4738a0f36eSThomas Chou
485c990456SPurna Chandra Mandalconfig FLASH_PIC32
495c990456SPurna Chandra Mandal	bool "Microchip PIC32 Flash driver"
505c990456SPurna Chandra Mandal	depends on MACH_PIC32 && MTD
515c990456SPurna Chandra Mandal	help
525c990456SPurna Chandra Mandal	  This enables access to Microchip PIC32 internal non-CFI flash
535c990456SPurna Chandra Mandal	  chips through PIC32 Non-Volatile-Memory Controller.
545c990456SPurna Chandra Mandal
55a405a55bSMarek Vasutconfig RENESAS_RPC_HF
56a405a55bSMarek Vasut	bool "Renesas RCar Gen3 RPC Hyperflash driver"
57a405a55bSMarek Vasut	depends on RCAR_GEN3 && MTD
58a405a55bSMarek Vasut	help
59a405a55bSMarek Vasut	  This enables access to Hyperflash memory through the Renesas
60a405a55bSMarek Vasut	  RCar Gen3 RPC controller.
61a405a55bSMarek Vasut
62d8587993SThomas Chouendmenu
63d8587993SThomas Chou
644b0abf9fSMasahiro Yamadasource "drivers/mtd/nand/Kconfig"
65f94a1bedSSimon Glass
66f94a1bedSSimon Glasssource "drivers/mtd/spi/Kconfig"
678f2fe0c8SHeiko Schocher
688f2fe0c8SHeiko Schochersource "drivers/mtd/ubi/Kconfig"
69