Commit 7db738b5 authored by Mauro Lima's avatar Mauro Lima Committed by Mark Brown

spi: intel: Remove DANGEROUS tag from pci driver

Modern CPUs exposes this controller as PCI device that only uses
hardware sequencing capabilities which is safer than software
sequencing.
Leave the platform driver as *DANGEROUS* and update help text since
most of these controllers are using software sequencing.
Signed-off-by: default avatarMauro Lima <mauro.lima@eclypsium.com>
Acked-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
Link: https://lore.kernel.org/r/20230206183143.75274-2-mauro.lima@eclypsium.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 94181198
...@@ -447,7 +447,7 @@ config SPI_INTEL ...@@ -447,7 +447,7 @@ config SPI_INTEL
tristate tristate
config SPI_INTEL_PCI config SPI_INTEL_PCI
tristate "Intel PCH/PCU SPI flash PCI driver (DANGEROUS)" tristate "Intel PCH/PCU SPI flash PCI driver"
depends on PCI depends on PCI
depends on X86 || COMPILE_TEST depends on X86 || COMPILE_TEST
depends on SPI_MEM depends on SPI_MEM
...@@ -455,8 +455,9 @@ config SPI_INTEL_PCI ...@@ -455,8 +455,9 @@ config SPI_INTEL_PCI
help help
This enables PCI support for the Intel PCH/PCU SPI controller in This enables PCI support for the Intel PCH/PCU SPI controller in
master mode. This controller is present in modern Intel hardware master mode. This controller is present in modern Intel hardware
and is used to hold BIOS and other persistent settings. Using and is used to hold BIOS and other persistent settings. This
this driver it is possible to upgrade BIOS directly from Linux. driver only supports hardware sequencing mode. Using this
driver it is possible to upgrade BIOS directly from Linux.
Say N here unless you know what you are doing. Overwriting the Say N here unless you know what you are doing. Overwriting the
SPI flash may render the system unbootable. SPI flash may render the system unbootable.
...@@ -471,10 +472,10 @@ config SPI_INTEL_PLATFORM ...@@ -471,10 +472,10 @@ config SPI_INTEL_PLATFORM
select SPI_INTEL select SPI_INTEL
help help
This enables platform support for the Intel PCH/PCU SPI This enables platform support for the Intel PCH/PCU SPI
controller in master mode. This controller is present in modern controller in master mode that is used to hold BIOS and other
Intel hardware and is used to hold BIOS and other persistent persistent settings. Most of these controllers are using
settings. Using this driver it is possible to upgrade BIOS software sequencing mode. Using this driver it is possible to
directly from Linux. upgrade BIOS directly from Linux.
Say N here unless you know what you are doing. Overwriting the Say N here unless you know what you are doing. Overwriting the
SPI flash may render the system unbootable. SPI flash may render the system unbootable.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment