diff options
author | Tony Dinh <mibodhi@gmail.com> | 2024-06-05 17:12:01 -0700 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2024-07-08 08:19:57 +0200 |
commit | 061dcf16f3f5def71fd5c1ced53850894b28085b (patch) | |
tree | 06677092a07c7732660638d845438c8f683924a5 /drivers/ddr/imx/phy/ddrphy_train.c | |
parent | d901c9b8d69e2036c3e991e0364b5eb008788a32 (diff) |
arm: mvebu: env_sf_get_env_addr() missing check for CONFIG_ENV_IS_IN_SPI_FLASH
The CONFIG_ENV_OFFSET is undefined if boot device is UART
(CONFIG_MVEBU_SPL_BOOT_DEVICE_UART), or envs are not stored on flash
(CONFIG_ENV_IS_NOWHERE). Check for CONFIG_ENV_IS_IN_SPI_FLASH as the first
condition to determine whether env_sf_get_env_addr() should be provided.
Signed-off-by: Tony Dinh <mibodhi@gmail.com>
Diffstat (limited to 'drivers/ddr/imx/phy/ddrphy_train.c')
0 files changed, 0 insertions, 0 deletions