From 88e518f4bca789c81c866bddbce3f6e0015d7ad3 Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Tue, 29 Apr 2014 07:11:39 +0300 Subject: SPI: Use common dependency in Kconfig MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I11118a4fe1e05017349feae004f98a17bb02386b Signed-off-by: Kyösti Mälkki Reviewed-on: http://review.coreboot.org/5605 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan Reviewed-by: Idwer Vollering Reviewed-by: Paul Menzel --- src/drivers/spi/Kconfig | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'src/drivers/spi/Kconfig') diff --git a/src/drivers/spi/Kconfig b/src/drivers/spi/Kconfig index 8ce6def174..5135dfb762 100644 --- a/src/drivers/spi/Kconfig +++ b/src/drivers/spi/Kconfig @@ -24,17 +24,18 @@ config SPI_FLASH Select this option if your chipset driver needs to store certain data in the SPI flash. +if SPI_FLASH + config SPI_FLASH_SMM bool "SPI flash driver support in SMM" default n - depends on SPI_FLASH && HAVE_SMI_HANDLER + depends on HAVE_SMI_HANDLER help Select this option if you want SPI flash support in SMM. config SPI_FLASH_AMIC bool default y - depends on SPI_FLASH help Select this option if your chipset driver needs to store certain data in the SPI flash and your SPI flash is made by AMIC. @@ -42,7 +43,6 @@ config SPI_FLASH_AMIC config SPI_FLASH_EON bool default y - depends on SPI_FLASH help Select this option if your chipset driver needs to store certain data in the SPI flash and your SPI flash is made by EON. @@ -50,7 +50,6 @@ config SPI_FLASH_EON config SPI_FLASH_MACRONIX bool default y - depends on SPI_FLASH help Select this option if your chipset driver needs to store certain data in the SPI flash and your SPI flash is made by Macronix. @@ -58,7 +57,6 @@ config SPI_FLASH_MACRONIX config SPI_FLASH_SPANSION bool default y - depends on SPI_FLASH help Select this option if your chipset driver needs to store certain data in the SPI flash and your SPI flash is made by Spansion. @@ -66,7 +64,6 @@ config SPI_FLASH_SPANSION config SPI_FLASH_SST bool default y - depends on SPI_FLASH help Select this option if your chipset driver needs to store certain data in the SPI flash and your SPI flash is made by SST. @@ -74,7 +71,6 @@ config SPI_FLASH_SST config SPI_FLASH_STMICRO bool default y - depends on SPI_FLASH help Select this option if your chipset driver needs to store certain data in the SPI flash and your SPI flash is made by ST MICRO. @@ -82,7 +78,6 @@ config SPI_FLASH_STMICRO config SPI_FLASH_WINBOND bool default y - depends on SPI_FLASH help Select this option if your chipset driver needs to store certain data in the SPI flash and your SPI flash is made by Winbond. @@ -90,7 +85,6 @@ config SPI_FLASH_WINBOND config SPI_FLASH_NO_FAST_READ bool "Disable Fast Read command" default n - depends on SPI_FLASH help Select this option if your setup requires to avoid "fast read"s from the SPI flash parts. @@ -98,7 +92,6 @@ config SPI_FLASH_NO_FAST_READ config SPI_FLASH_GIGADEVICE bool default y - depends on SPI_FLASH help Select this option if your chipset driver needs to store certain data in the SPI flash and your SPI flash is made by Gigadevice. @@ -106,7 +99,8 @@ config SPI_FLASH_GIGADEVICE config SPI_FLASH_ADESTO bool default y - depends on SPI_FLASH help Select this option if your chipset driver needs to store certain data in the SPI flash and your SPI flash is made by Adesto Technologies. + +endif # SPI_FLASH -- cgit v1.2.3