spi-nor: intel-spi: Remove EXPERT dependency
Subsystems (2)
PATCH 1/1 spi-nor: intel-spi: Remove EXPERT dependency
The idea to have the intel-spi driver dependent on EXPERT was exactly because we did not want ordinary users playing with the device and inadvertently overwrite their BIOSes (if it is not protected). This seems to be superfluous hence remove it.
---
drivers/mtd/spi-nor/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/mtd/spi-nor/Kconfig +2 -2
@@ -90,7 +90,7 @@ config SPI_INTEL_SPI tristate config SPI_INTEL_SPI_PCI - tristate "Intel PCH/PCU SPI flash PCI driver" if EXPERT + tristate "Intel PCH/PCU SPI flash PCI driver" depends on X86 && PCI select SPI_INTEL_SPI help
@@ -106,7 +106,7 @@ config SPI_INTEL_SPI_PCI will be called intel-spi-pci. config SPI_INTEL_SPI_PLATFORM - tristate "Intel PCH/PCU SPI flash platform driver" if EXPERT + tristate "Intel PCH/PCU SPI flash platform driver" depends on X86 && PCI select SPI_INTEL_SPI select LPC_ICH
Signature · 1 line
2.7.4
Quoted 7 lines · Bin Meng
The idea to have the intel-spi driver dependent on EXPERT was exactly because we did not want ordinary users playing with the device and inadvertently overwrite their BIOSes (if it is not protected). This seems to be superfluous hence remove it.
Suggested-by Arnd Bergmann <[email protected]>Signed-off-by Bin Meng <[email protected]>
Quoted 7 lines · Bin Meng
The idea to have the intel-spi driver dependent on EXPERT was exactly because we did not want ordinary users playing with the device and inadvertently overwrite their BIOSes (if it is not protected). This seems to be superfluous hence remove it.
Suggested-by Arnd Bergmann <[email protected]>Signed-off-by Bin Meng <[email protected]>
Thansk for cleaning this up!
Cyrille Pitchen
AppliedLe 24/10/2017 à 09:40, Bin Meng a écrit :
Quoted 7 lines
The idea to have the intel-spi driver dependent on EXPERT was exactly because we did not want ordinary users playing with the device and inadvertently overwrite their BIOSes (if it is not protected). This seems to be superfluous hence remove it.
Suggested-by Arnd Bergmann <[email protected]>Signed-off-by Bin Meng <[email protected]>
Applied to the spi-nor/next branch of l2-mtd (reworked a little bit since the original patch depends on "spi-nor: intel-spi: Fix Kconfig dependency to LPC_ICH", see below).
Thanks!
Quoted 19 lines
---
drivers/mtd/spi-nor/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/mtd/spi-nor/Kconfig +1
-1@@ -90,7 +90,7 @@ config SPI_INTEL_SPI tristate config SPI_INTEL_SPI_PCI - tristate "Intel PCH/PCU SPI flash PCI driver" if EXPERT + tristate "Intel PCH/PCU SPI flash PCI driver" depends on X86 && PCI select SPI_INTEL_SPI help
drivers/mtd/spi-nor/Kconfig config SPI_INTEL_SPI_PCI · line 110
Quoted 6 lines
drivers/mtd/spi-nor/Kconfig +1
-1@@ -106,7 +106,7 @@ config SPI_INTEL_SPI_PCI will be called intel-spi-pci. config SPI_INTEL_SPI_PLATFORM - tristate "Intel PCH/PCU SPI flash platform driver" if EXPERT + tristate "Intel PCH/PCU SPI flash platform driver" depends on X86 && PCI
removed " && PCI"
drivers/mtd/spi-nor/Kconfig config SPI_INTEL_SPI_PCI · line 112
Quoted 2 lines
drivers/mtd/spi-nor/Kconfig +0
-0select SPI_INTEL_SPI select LPC_ICH
removed "select LPC_ICH"