diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2014-04-29 07:11:39 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2014-04-29 17:31:03 +0200 |
commit | 88e518f4bca789c81c866bddbce3f6e0015d7ad3 (patch) | |
tree | 788b266ee335b72a6b646d42d2758411b97c741f | |
parent | 9e308b9955760ca768b35420d5373e59f398d174 (diff) | |
download | coreboot-88e518f4bca789c81c866bddbce3f6e0015d7ad3.tar.xz |
SPI: Use common dependency in Kconfig
Change-Id: I11118a4fe1e05017349feae004f98a17bb02386b
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/5605
Tested-by: build bot (Jenkins)
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-by: Idwer Vollering <vidwer@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
-rw-r--r-- | src/drivers/spi/Kconfig | 16 |
1 files changed, 5 insertions, 11 deletions
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 |