]> git.baikalelectronics.ru Git - uboot.git/commit
ARM: imx8m: support env in fat and ext4
authorRicardo Salveti <ricardo@foundries.io>
Wed, 20 Oct 2021 19:16:26 +0000 (16:16 -0300)
committerStefano Babic <sbabic@denx.de>
Sat, 5 Feb 2022 12:38:38 +0000 (13:38 +0100)
commit15ad9340f61107fee39a1f4d7fa2b184cfb777c7
tree5a9a383f9ffa3e46c054ac7749bde96d8a5cb391
parente49280c5c6edf47ef46f61f0bbbbd1fdfa37889d
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: Ricardo Salveti <ricardo@foundries.io>
Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
arch/arm/mach-imx/imx8m/soc.c