]> git.baikalelectronics.ru Git - uboot.git/commit
x86: apl: Enable SPI flash in TPL with APL_SPI_FLASH_BOOT
authorSimon Glass <sjg@chromium.org>
Sat, 3 Oct 2020 17:31:38 +0000 (11:31 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 29 Oct 2020 20:42:18 +0000 (14:42 -0600)
commit2d81b1aa43249dc87ab48b0f9717941b32644238
treecbb73a80ae120ca50e62a3d16ff9c4bbf5af247c
parent0d741fd193e4d3944547b62bf7b1add2fb9af3ba
x86: apl: Enable SPI flash in TPL with APL_SPI_FLASH_BOOT

At present, enabling CONFIG_APL_SPI_FLASH_BOOT does not build since SPI
and SPI flash are not enabled for TPL. Add a condition to fix this and
tidy up a build warning in the SPI-flash driver.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/apollolake/Kconfig
drivers/spi/ich.c