diff options
author | Aaron Durbin <adurbin@chromium.org> | 2020-01-11 10:33:26 -0700 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2020-01-15 16:34:31 +0000 |
commit | bd467d1481baabd0c9651dfa02a46f324679bf10 (patch) | |
tree | f8949e9e0a738eba16d75ef869bd7ef09c6456f7 /src/soc/intel/common | |
parent | 3e7f00628018067c8152fe50b4873f0b31d27a25 (diff) |
soc/intel/common/block/fast_spi: don't include all spi flash drivers
The fast spi driver implements hardware sequencing which abstracts away
the underlying spi flash commands in the hardware block. It also has its
own spi flash probe function to intercept the spi flash ops. As such it's
not necessary to include all spi flash drivers.
On a hatch Chrome OS build this saves 9.5KiB of text in each of verstage,
romstage, and ramstage.
Change-Id: Ifb1b962cde3a6a02353ddf83279234057a9ec2fa
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38363
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/soc/intel/common')
-rw-r--r-- | src/soc/intel/common/block/fast_spi/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/soc/intel/common/block/fast_spi/Kconfig b/src/soc/intel/common/block/fast_spi/Kconfig index 4bd1f59de6..936927219d 100644 --- a/src/soc/intel/common/block/fast_spi/Kconfig +++ b/src/soc/intel/common/block/fast_spi/Kconfig @@ -1,5 +1,6 @@ config SOC_INTEL_COMMON_BLOCK_FAST_SPI bool + select SPI_FLASH_DONT_INCLUDE_ALL_DRIVERS help Intel Processor common FAST_SPI support |