]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: imx8ulp: support env in fat and ext4
authorRicardo Salveti <ricardo@foundries.io>
Fri, 25 Aug 2023 14:44:14 +0000 (17:44 +0300)
committerFabio Estevam <festevam@gmail.com>
Wed, 13 Dec 2023 12:43:23 +0000 (09:43 -0300)
commit85053a1c14cb2c132dc80ac1dae8203d121b0932
tree188c784da0e57d971227c1a545d5cf5e1695c787
parent9e9d92f823732ef3f765586770e7c2cd2cfe6709
ARM: imx8ulp: 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 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>
Co-developed-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
arch/arm/mach-imx/imx8ulp/soc.c