spi: Rename SPI_SUPPORT to SPI

Rename these options so that CONFIG_IS_ENABLED can be used with them.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2021-08-08 12:20:14 -06:00
committed by Tom Rini
parent 52510486c5
commit ea2ca7e17e
110 changed files with 116 additions and 117 deletions

View File

@@ -1119,7 +1119,7 @@ config SPL_SERIAL
unless there are space reasons not to. Even then, consider
enabling SPL_USE_TINY_PRINTF which is a small printf() version.
config SPL_SPI_SUPPORT
config SPL_SPI
bool "Support SPI drivers"
help
Enable support for using SPI in SPL. This is used for connecting
@@ -1131,14 +1131,14 @@ config SPL_SPI_SUPPORT
config SPL_SPI_FLASH_SUPPORT
bool "Support SPI flash drivers"
depends on SPL_SPI_SUPPORT
depends on SPL_SPI
help
Enable support for using SPI flash in SPL, and loading U-Boot from
SPI flash. SPI flash (Serial Peripheral Bus flash) is named after
the SPI bus that is used to connect it to a system. It is a simple
but fast bidirectional 4-wire bus (clock, chip select and two data
lines). This enables the drivers in drivers/mtd/spi as part of an
SPL build. This normally requires SPL_SPI_SUPPORT.
SPL build. This normally requires SPL_SPI.
if SPL_SPI_FLASH_SUPPORT
@@ -1602,10 +1602,10 @@ config TPL_SPI_LOAD
Enable support for loading next stage, U-Boot or otherwise, from
SPI NOR in U-Boot TPL.
config TPL_SPI_SUPPORT
config TPL_SPI
bool "Support SPI drivers"
help
Enable support for using SPI in TPL. See SPL_SPI_SUPPORT for
Enable support for using SPI in TPL. See SPL_SPI for
details.
config TPL_DM_SPI