commit | f362eaa35f9463faf0acd88d13e66872e29b429d | [log] [tgz] |
---|---|---|
author | Tony Dinh <mibodhi@gmail.com> | Wed Jun 05 17:12:01 2024 -0700 |
committer | Stefan Roese <sr@denx.de> | Mon Jul 08 08:19:57 2024 +0200 |
tree | 06677092a07c7732660638d845438c8f683924a5 | |
parent | c4f213e644ba028eadc660cd74f08ebdecc4792b [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>