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