18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ciconfig SPI_ASPEED_SMC
38c2ecf20Sopenharmony_ci	tristate "Aspeed flash controllers in SPI mode"
48c2ecf20Sopenharmony_ci	depends on ARCH_ASPEED || COMPILE_TEST
58c2ecf20Sopenharmony_ci	depends on HAS_IOMEM && OF
68c2ecf20Sopenharmony_ci	help
78c2ecf20Sopenharmony_ci	  This enables support for the Firmware Memory controller (FMC)
88c2ecf20Sopenharmony_ci	  in the Aspeed AST2500/AST2400 SoCs when attached to SPI NOR chips,
98c2ecf20Sopenharmony_ci	  and support for the SPI flash memory controller (SPI) for
108c2ecf20Sopenharmony_ci	  the host firmware. The implementation only supports SPI NOR.
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ciconfig SPI_HISI_SFC
138c2ecf20Sopenharmony_ci	tristate "Hisilicon FMC SPI NOR Flash Controller(SFC)"
148c2ecf20Sopenharmony_ci	depends on ARCH_HISI || COMPILE_TEST
158c2ecf20Sopenharmony_ci	depends on HAS_IOMEM
168c2ecf20Sopenharmony_ci	help
178c2ecf20Sopenharmony_ci	  This enables support for HiSilicon FMC SPI NOR flash controller.
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ciconfig SPI_NXP_SPIFI
208c2ecf20Sopenharmony_ci	tristate "NXP SPI Flash Interface (SPIFI)"
218c2ecf20Sopenharmony_ci	depends on OF && (ARCH_LPC18XX || COMPILE_TEST)
228c2ecf20Sopenharmony_ci	depends on HAS_IOMEM
238c2ecf20Sopenharmony_ci	help
248c2ecf20Sopenharmony_ci	  Enable support for the NXP LPC SPI Flash Interface controller.
258c2ecf20Sopenharmony_ci
268c2ecf20Sopenharmony_ci	  SPIFI is a specialized controller for connecting serial SPI
278c2ecf20Sopenharmony_ci	  Flash. Enable this option if you have a device with a SPIFI
288c2ecf20Sopenharmony_ci	  controller and want to access the Flash as a mtd device.
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_ciconfig SPI_INTEL_SPI
318c2ecf20Sopenharmony_ci	tristate
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_ciconfig SPI_INTEL_SPI_PCI
348c2ecf20Sopenharmony_ci	tristate "Intel PCH/PCU SPI flash PCI driver (DANGEROUS)"
358c2ecf20Sopenharmony_ci	depends on X86 && PCI
368c2ecf20Sopenharmony_ci	select SPI_INTEL_SPI
378c2ecf20Sopenharmony_ci	help
388c2ecf20Sopenharmony_ci	  This enables PCI support for the Intel PCH/PCU SPI controller in
398c2ecf20Sopenharmony_ci	  master mode. This controller is present in modern Intel hardware
408c2ecf20Sopenharmony_ci	  and is used to hold BIOS and other persistent settings. Using
418c2ecf20Sopenharmony_ci	  this driver it is possible to upgrade BIOS directly from Linux.
428c2ecf20Sopenharmony_ci
438c2ecf20Sopenharmony_ci	  Say N here unless you know what you are doing. Overwriting the
448c2ecf20Sopenharmony_ci	  SPI flash may render the system unbootable.
458c2ecf20Sopenharmony_ci
468c2ecf20Sopenharmony_ci	  To compile this driver as a module, choose M here: the module
478c2ecf20Sopenharmony_ci	  will be called intel-spi-pci.
488c2ecf20Sopenharmony_ci
498c2ecf20Sopenharmony_ciconfig SPI_INTEL_SPI_PLATFORM
508c2ecf20Sopenharmony_ci	tristate "Intel PCH/PCU SPI flash platform driver (DANGEROUS)"
518c2ecf20Sopenharmony_ci	depends on X86
528c2ecf20Sopenharmony_ci	select SPI_INTEL_SPI
538c2ecf20Sopenharmony_ci	help
548c2ecf20Sopenharmony_ci	  This enables platform support for the Intel PCH/PCU SPI
558c2ecf20Sopenharmony_ci	  controller in master mode. This controller is present in modern
568c2ecf20Sopenharmony_ci	  Intel hardware and is used to hold BIOS and other persistent
578c2ecf20Sopenharmony_ci	  settings. Using this driver it is possible to upgrade BIOS
588c2ecf20Sopenharmony_ci	  directly from Linux.
598c2ecf20Sopenharmony_ci
608c2ecf20Sopenharmony_ci	  Say N here unless you know what you are doing. Overwriting the
618c2ecf20Sopenharmony_ci	  SPI flash may render the system unbootable.
628c2ecf20Sopenharmony_ci
638c2ecf20Sopenharmony_ci	  To compile this driver as a module, choose M here: the module
648c2ecf20Sopenharmony_ci	  will be called intel-spi-platform.
65