diff options
author | Tom Rini <trini@konsulko.com> | 2021-12-11 22:55:48 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-12-27 16:40:33 +0300 |
commit | 7e6a6fd82140dd4136b5a98e459b384f910ccd74 (patch) | |
tree | 83855fd61b6c0d0c4970e5a1f4b93b8eaecb1e8f /drivers/mtd | |
parent | 5fd4a7ed0ce102c7f3720f67555878bc0b395eb6 (diff) | |
download | u-boot-7e6a6fd82140dd4136b5a98e459b384f910ccd74.tar.xz |
Convert CONFIG_ENV_SPI_BUS et al to Kconfig
This converts the following to Kconfig:
CONFIG_ENV_SPI_BUS
CONFIG_ENV_SPI_CS
CONFIG_ENV_SPI_MAX_HZ
CONFIG_ENV_SPI_MODE
As part of this, we use Kconfig to provide the defaults now that were
done in include/spi_flash.h. We also in some cases change from using
CONFIG_ENV_SPI_FOO to CONFIG_SF_DEFAULT_FOO as those were the values in
use anyhow as ENV was not enabled.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/spi/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/spi/Kconfig b/drivers/mtd/spi/Kconfig index 408a53f861..0969c038e5 100644 --- a/drivers/mtd/spi/Kconfig +++ b/drivers/mtd/spi/Kconfig @@ -57,7 +57,7 @@ config SF_DEFAULT_CS config SF_DEFAULT_MODE hex "SPI Flash default mode (see include/spi.h)" depends on SPI_FLASH || DM_SPI_FLASH - default 0 + default 0x0 help The default mode may be provided by the platform to handle the common case when only a single serial |