diff options
| author | Marek Vasut <[email protected]> | 2025-03-19 04:28:27 +0100 |
|---|---|---|
| committer | Fabio Estevam <[email protected]> | 2025-03-24 08:55:48 -0300 |
| commit | 31896508d8df4a87ecc09af6c6c61d8b1b5046af (patch) | |
| tree | bedccf05ef4b562cb1fb7c723e7241290cf17bb1 /scripts/const_structs.checkpatch | |
| parent | 2a7ab5f6c644e28387ac6d0111bc66d7fb49679a (diff) | |
arm64: imx8mp: Gracefully handle disabled ENV_IS_IN_SPI_FLASH
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 <[email protected]>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
