Re: [PATCH] arm64: imx8mp: Gracefully handle disabled ENV_IS_IN_SPI_FLASH

2025-03-25 Thread Fabio Estevam
On Wed, Mar 19, 2025 at 12:28 AM Marek Vasut 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. > > Sign

Re: [PATCH] arm64: imx8mp: Gracefully handle disabled ENV_IS_IN_SPI_FLASH

2025-03-18 Thread Marek Vasut
On 3/19/25 4:28 AM, Marek Vasut 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 -