From a8280e4cc0bf146ca29030a8d1d50b7276d26c6e Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Fri, 3 Jan 2020 15:31:01 -0700 Subject: drivers/spi: remove SPI_FLASH_FAST_READ_DUAL_OUTPUT_3B option The SPI_FLASH_FAST_READ_DUAL_OUTPUT_3B option is no longer being used in the code. There's a runtime check for supporting fast read dual output mode of the spi flash. Remove the references to SPI_FLASH_FAST_READ_DUAL_OUTPUT_3B. Change-Id: Ie7d9d3f91f29a700f07ab33feaf427a872bbf7df Signed-off-by: Aaron Durbin Reviewed-on: https://review.coreboot.org/c/coreboot/+/38166 Reviewed-by: Furquan Shaikh Tested-by: build bot (Jenkins) --- src/drivers/spi/Kconfig | 9 --------- src/mainboard/google/nyan/Kconfig | 1 - src/mainboard/google/nyan_big/Kconfig | 1 - src/mainboard/google/nyan_blaze/Kconfig | 1 - 4 files changed, 12 deletions(-) (limited to 'src') diff --git a/src/drivers/spi/Kconfig b/src/drivers/spi/Kconfig index 8300026674..a4be84d814 100644 --- a/src/drivers/spi/Kconfig +++ b/src/drivers/spi/Kconfig @@ -149,15 +149,6 @@ config SPI_FLASH_WINBOND Select this option if your chipset driver needs to store certain data in the SPI flash and your SPI flash is made by Winbond. -config SPI_FLASH_FAST_READ_DUAL_OUTPUT_3B - bool - default n - depends on SPI_FLASH - help - Select this option if your SPI flash supports the fast read dual- - output command (opcode 0x3b) where the opcode and address are sent - to the chip on MOSI and data is received on both MOSI and MISO. - config SPI_FLASH_HAS_VOLATILE_GROUP bool default n diff --git a/src/mainboard/google/nyan/Kconfig b/src/mainboard/google/nyan/Kconfig index c6175452c2..cc649e6e40 100644 --- a/src/mainboard/google/nyan/Kconfig +++ b/src/mainboard/google/nyan/Kconfig @@ -27,7 +27,6 @@ config BOARD_SPECIFIC_OPTIONS select SPI_FLASH select SPI_FLASH_GIGADEVICE select SPI_FLASH_WINBOND - select SPI_FLASH_FAST_READ_DUAL_OUTPUT_3B config VBOOT select EC_GOOGLE_CHROMEEC_SWITCHES diff --git a/src/mainboard/google/nyan_big/Kconfig b/src/mainboard/google/nyan_big/Kconfig index f02f694d55..87e39aa755 100644 --- a/src/mainboard/google/nyan_big/Kconfig +++ b/src/mainboard/google/nyan_big/Kconfig @@ -27,7 +27,6 @@ config BOARD_SPECIFIC_OPTIONS select SPI_FLASH select SPI_FLASH_GIGADEVICE select SPI_FLASH_WINBOND - select SPI_FLASH_FAST_READ_DUAL_OUTPUT_3B select MAINBOARD_HAS_I2C_TPM_GENERIC select MAINBOARD_HAS_TPM1 diff --git a/src/mainboard/google/nyan_blaze/Kconfig b/src/mainboard/google/nyan_blaze/Kconfig index 8de957d9f2..82a28ed421 100644 --- a/src/mainboard/google/nyan_blaze/Kconfig +++ b/src/mainboard/google/nyan_blaze/Kconfig @@ -27,7 +27,6 @@ config BOARD_SPECIFIC_OPTIONS select SPI_FLASH select SPI_FLASH_GIGADEVICE select SPI_FLASH_WINBOND - select SPI_FLASH_FAST_READ_DUAL_OUTPUT_3B select MAINBOARD_HAS_I2C_TPM_GENERIC select MAINBOARD_HAS_TPM1 -- cgit v1.2.3