diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2017-07-30 06:23:26 -0700 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2017-08-01 20:17:02 +0800 |
commit | 1df7f0b6a00c2080c50de775b4ef621aad24c47e (patch) | |
tree | 650eed09c595e1815cb23d2fb435f272b82d2068 /board/coreboot | |
parent | 31ba86e8d09836c4340fd7a93b3b63b368e76d4b (diff) | |
download | u-boot-1df7f0b6a00c2080c50de775b4ef621aad24c47e.tar.gz |
x86: kconfig: Let board select SPI flash
Only a specific type of SPI flash exists on a board, having board
Kconfig to select the SPI flash seems to make more sense. Other
flash types are not necessary except coreboot, which implies all
available flash drivers there.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/coreboot')
-rw-r--r-- | board/coreboot/coreboot/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/board/coreboot/coreboot/Kconfig b/board/coreboot/coreboot/Kconfig index 3ff64f4084..cfa1d50ee4 100644 --- a/board/coreboot/coreboot/Kconfig +++ b/board/coreboot/coreboot/Kconfig @@ -12,6 +12,17 @@ config SYS_SOC config SYS_TEXT_BASE default 0x01110000 +config BOARD_SPECIFIC_OPTIONS # dummy + def_bool y + imply SPI_FLASH_ATMEL + imply SPI_FLASH_EON + imply SPI_FLASH_GIGADEVICE + imply SPI_FLASH_MACRONIX + imply SPI_FLASH_SPANSION + imply SPI_FLASH_STMICRO + imply SPI_FLASH_SST + imply SPI_FLASH_WINBOND + comment "coreboot-specific options" config SYS_CONFIG_NAME |