[PATCH] arm64: imx8mp: Gracefully handle disabled ENV_IS_IN_SPI_FLASH

Fabio Estevam festevam at gmail.com
Tue Mar 25 13:57:26 CET 2025


On Wed, Mar 19, 2025 at 12:28 AM Marek Vasut <marex at denx.de> wrote:
>
> In case ENV_IS_IN_SPI_FLASH is disabled, returning ENVL_SPI_FLASH
> leads to failure to find environment driver on start up. Fix this
> by testing whether ENV_IS_IN_SPI_FLASH is enabled and if not, then
> return ENVL_NOWHERE instead.
>
> Signed-off-by: Marek Vasut <marex at denx.de>

Applied to u-boot-imx/next, thanks.


More information about the U-Boot mailing list