Skip to content
Commit 89ca5a7e authored by Ricardo Salveti's avatar Ricardo Salveti Committed by Stefano Babic
Browse files

ARM: imx8m: support env in fat and ext4



Change boot device logic to also allow environment stored in fat and in
ext4 when booting from SD or from eMMC.

As the boot device check for SD and for eMMC was depending on
ENV_IS_IN_MMC being defined, change the ifdef blocks at env_get_location
to use IS_ENABLED instead for all modes, returning NOWHERE when no valid
mode is found.

Signed-off-by: default avatarRicardo Salveti <ricardo@foundries.io>
Reviewed-by: default avatarOleksandr Suvorov <oleksandr.suvorov@foundries.io>
Reviewed-by: default avatarFabio Estevam <festevam@gmail.com>
parent af602631
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment