diff options
author | Tom Rini <trini@konsulko.com> | 2021-12-11 14:55:48 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-12-27 08:40:33 -0500 |
commit | 7e6a6fd82140dd4136b5a98e459b384f910ccd74 (patch) | |
tree | 83855fd61b6c0d0c4970e5a1f4b93b8eaecb1e8f /include/configs/imx8qm_rom7720.h | |
parent | 5fd4a7ed0ce102c7f3720f67555878bc0b395eb6 (diff) |
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 'include/configs/imx8qm_rom7720.h')
-rw-r--r-- | include/configs/imx8qm_rom7720.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/configs/imx8qm_rom7720.h b/include/configs/imx8qm_rom7720.h index 3dea00ca280..bd2387ab80c 100644 --- a/include/configs/imx8qm_rom7720.h +++ b/include/configs/imx8qm_rom7720.h @@ -109,15 +109,6 @@ #define CONFIG_SYS_INIT_SP_ADDR 0x80200000 -/* Default environment is in SD */ - -#ifdef CONFIG_QSPI_BOOT -#define CONFIG_ENV_SPI_BUS CONFIG_SF_DEFAULT_BUS -#define CONFIG_ENV_SPI_CS CONFIG_SF_DEFAULT_CS -#define CONFIG_ENV_SPI_MODE CONFIG_SF_DEFAULT_MODE -#define CONFIG_ENV_SPI_MAX_HZ CONFIG_SF_DEFAULT_SPEED -#endif - #define CONFIG_SYS_MMC_IMG_LOAD_PART 1 /* On LPDDR4 board, USDHC1 is for eMMC, USDHC2 is for SD on CPU board, |