xref: /rk3399_rockchip-uboot/drivers/mtd/Kconfig (revision a0166cc6be15df30787952f9abbc18f796e028bd)
1d8587993SThomas Choumenu "MTD Support"
2d8587993SThomas Chou
356913fbeSMiquel Raynalconfig MTD_PARTITIONS
456913fbeSMiquel Raynal	bool
556913fbeSMiquel Raynal
6d8587993SThomas Chouconfig MTD
7d8587993SThomas Chou	bool "Enable Driver Model for MTD drivers"
8d8587993SThomas Chou	depends on DM
9d8587993SThomas Chou	help
10d8587993SThomas Chou	  Enable driver model for Memory Technology Devices (MTD), such as
11d8587993SThomas Chou	  flash, RAM and similar chips, often used for solid state file
12d8587993SThomas Chou	  systems on embedded devices.
13d8587993SThomas Chou
14054229abSJason Zhuconfig MTD_BLK
15054229abSJason Zhu	bool "Enable mtd block model for MTD drivers"
16054229abSJason Zhu	depends on MTD
17054229abSJason Zhu	help
18054229abSJason Zhu	  Enable mtd block model for Memory Technology Devices (MTD).
19054229abSJason Zhu
20*a0166cc6SJason Zhuconfig MTD_WRITE
21*a0166cc6SJason Zhu	bool "support for nand & spi nand & spi nor write operations"
22*a0166cc6SJason Zhu	depends on MTD_BLK
23*a0166cc6SJason Zhu	default y
24*a0166cc6SJason Zhu	help
25*a0166cc6SJason Zhu	  Enable write access to nand & spi nand & spi nor
26*a0166cc6SJason Zhu
27e856bdcfSMasahiro Yamadaconfig MTD_NOR_FLASH
28e856bdcfSMasahiro Yamada	bool "Enable parallel NOR flash support"
29e856bdcfSMasahiro Yamada	help
30e856bdcfSMasahiro Yamada	  Enable support for parallel NOR flash.
31e856bdcfSMasahiro Yamada
32577968e5SAdam Fordconfig MTD_DEVICE
33577968e5SAdam Ford	bool "Enable MTD Device for NAND and ONENAND devices"
34577968e5SAdam Ford	help
35577968e5SAdam Ford	  Adds the MTD device infrastructure from the Linux kernel.
36577968e5SAdam Ford	  Needed for mtdparts command support.
37577968e5SAdam Ford
383fced5d0SBoris Brezillonconfig FLASH_CFI_DRIVER
393fced5d0SBoris Brezillon	bool "Enable CFI Flash driver"
40577968e5SAdam Ford	help
413fced5d0SBoris Brezillon	  The Common Flash Interface specification was developed by Intel,
423fced5d0SBoris Brezillon	  AMD and other flash manufactures. It provides a universal method
433fced5d0SBoris Brezillon	  for probing the capabilities of flash devices. If you wish to
443fced5d0SBoris Brezillon	  support any device that is CFI-compliant, you need to enable this
453fced5d0SBoris Brezillon	  option. Visit <http://www.amd.com/products/nvd/overview/cfi.html>
463fced5d0SBoris Brezillon	  for more information on CFI.
47577968e5SAdam Ford
48f1056910SThomas Chouconfig CFI_FLASH
49f1056910SThomas Chou	bool "Enable Driver Model for CFI Flash driver"
50f1056910SThomas Chou	depends on MTD
51f1056910SThomas Chou	help
52f1056910SThomas Chou	  The Common Flash Interface specification was developed by Intel,
53f1056910SThomas Chou	  AMD and other flash manufactures. It provides a universal method
54f1056910SThomas Chou	  for probing the capabilities of flash devices. If you wish to
55f1056910SThomas Chou	  support any device that is CFI-compliant, you need to enable this
56f1056910SThomas Chou	  option. Visit <http://www.amd.com/products/nvd/overview/cfi.html>
57f1056910SThomas Chou	  for more information on CFI.
58f1056910SThomas Chou
5938a0f36eSThomas Chouconfig ALTERA_QSPI
6038a0f36eSThomas Chou	bool "Altera Generic Quad SPI Controller"
6138a0f36eSThomas Chou	depends on MTD
6238a0f36eSThomas Chou	help
6338a0f36eSThomas Chou	  This enables access to Altera EPCQ/EPCS flash chips using the
6438a0f36eSThomas Chou	  Altera Generic Quad SPI Controller. The controller converts SPI
6538a0f36eSThomas Chou	  NOR flash to parallel flash interface. Please find details on the
6638a0f36eSThomas Chou	  "Embedded Peripherals IP User Guide" of Altera.
6738a0f36eSThomas Chou
685c990456SPurna Chandra Mandalconfig FLASH_PIC32
695c990456SPurna Chandra Mandal	bool "Microchip PIC32 Flash driver"
705c990456SPurna Chandra Mandal	depends on MACH_PIC32 && MTD
715c990456SPurna Chandra Mandal	help
725c990456SPurna Chandra Mandal	  This enables access to Microchip PIC32 internal non-CFI flash
735c990456SPurna Chandra Mandal	  chips through PIC32 Non-Volatile-Memory Controller.
745c990456SPurna Chandra Mandal
7521551964SMarek Vasutconfig RENESAS_RPC_HF
7621551964SMarek Vasut	bool "Renesas RCar Gen3 RPC Hyperflash driver"
7721551964SMarek Vasut	depends on RCAR_GEN3 && MTD
7821551964SMarek Vasut	help
7921551964SMarek Vasut	  This enables access to Hyperflash memory through the Renesas
8021551964SMarek Vasut	  RCar Gen3 RPC controller.
8121551964SMarek Vasut
824b0abf9fSMasahiro Yamadasource "drivers/mtd/nand/Kconfig"
83f94a1bedSSimon Glass
84f94a1bedSSimon Glasssource "drivers/mtd/spi/Kconfig"
858f2fe0c8SHeiko Schocher
868f2fe0c8SHeiko Schochersource "drivers/mtd/ubi/Kconfig"
87952e9c19SMiquel Raynal
88952e9c19SMiquel Raynalendmenu
89