xref: /linux/drivers/mtd/spi-nor/controllers/Kconfig (revision 02680c23d7b3febe45ea3d4f9818c2b2dc89020a)
1# SPDX-License-Identifier: GPL-2.0-only
2config SPI_ASPEED_SMC
3	tristate "Aspeed flash controllers in SPI mode"
4	depends on ARCH_ASPEED || COMPILE_TEST
5	depends on HAS_IOMEM && OF
6	help
7	  This enables support for the Firmware Memory controller (FMC)
8	  in the Aspeed AST2500/AST2400 SoCs when attached to SPI NOR chips,
9	  and support for the SPI flash memory controller (SPI) for
10	  the host firmware. The implementation only supports SPI NOR.
11
12config SPI_HISI_SFC
13	tristate "Hisilicon FMC SPI NOR Flash Controller(SFC)"
14	depends on ARCH_HISI || COMPILE_TEST
15	depends on HAS_IOMEM
16	help
17	  This enables support for HiSilicon FMC SPI NOR flash controller.
18
19config SPI_NXP_SPIFI
20	tristate "NXP SPI Flash Interface (SPIFI)"
21	depends on OF && (ARCH_LPC18XX || COMPILE_TEST)
22	depends on HAS_IOMEM
23	help
24	  Enable support for the NXP LPC SPI Flash Interface controller.
25
26	  SPIFI is a specialized controller for connecting serial SPI
27	  Flash. Enable this option if you have a device with a SPIFI
28	  controller and want to access the Flash as a mtd device.
29
30config SPI_INTEL_SPI
31	tristate
32
33config SPI_INTEL_SPI_PCI
34	tristate "Intel PCH/PCU SPI flash PCI driver (DANGEROUS)"
35	depends on X86 && PCI
36	select SPI_INTEL_SPI
37	help
38	  This enables PCI support for the Intel PCH/PCU SPI controller in
39	  master mode. This controller is present in modern Intel hardware
40	  and is used to hold BIOS and other persistent settings. Using
41	  this driver it is possible to upgrade BIOS directly from Linux.
42
43	  Say N here unless you know what you are doing. Overwriting the
44	  SPI flash may render the system unbootable.
45
46	  To compile this driver as a module, choose M here: the module
47	  will be called intel-spi-pci.
48
49config SPI_INTEL_SPI_PLATFORM
50	tristate "Intel PCH/PCU SPI flash platform driver (DANGEROUS)"
51	depends on X86
52	select SPI_INTEL_SPI
53	help
54	  This enables platform support for the Intel PCH/PCU SPI
55	  controller in master mode. This controller is present in modern
56	  Intel hardware and is used to hold BIOS and other persistent
57	  settings. Using this driver it is possible to upgrade BIOS
58	  directly from Linux.
59
60	  Say N here unless you know what you are doing. Overwriting the
61	  SPI flash may render the system unbootable.
62
63	  To compile this driver as a module, choose M here: the module
64	  will be called intel-spi-platform.
65