u-boot/arch/arm/mach-imx
Oleksandr Suvorov d31ffce81d ARM: imx9: 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.

This solution is based on (with added SPL support):
Link: https://lore.kernel.org/all/20211020191626.3648540-1-ricardo@foundries.io/
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
2023-07-11 14:40:02 +02:00
..
imx8 imx: move imx8 sci header file to include/firmware/imx 2023-05-21 16:54:32 +02:00
imx8m thermal: imx_tmu: Move architecture code into driver 2023-05-21 13:48:52 +02:00
imx8ulp imx8ulp: build ahab 2023-05-21 13:48:52 +02:00
imx9 ARM: imx9: support env in fat and ext4 2023-07-11 14:40:02 +02:00
imxrt imx: imxrt1170-evk: Add support for the NXP i.MXRT1170-EVK 2022-09-18 20:42:56 +02:00
mx3 arm: Remove mx31pdk board 2020-07-09 20:58:06 +05:30
mx5 global: Remove extraneous DM_ETH imply/select 2022-12-07 16:04:16 -05:00
mx6 arm: mx6: module_fuse: fix build failure due to wrong argument name 2023-07-11 14:40:02 +02:00
mx7 mx7: clock: Use 60MHz for the I2C clocks 2023-01-30 23:23:02 +01:00
mx7ulp global: Migrate CONFIG_SYS_FSL* symbols to the CFG_SYS namespace 2022-11-10 10:08:55 -05:00
mxs arm: Remove bg0900 board 2021-10-01 21:08:19 -04:00
cache.c imx: Enable ACTLR.SMP in SPL for i.MX6/7 2022-02-05 13:38:39 +01:00
cmd_bmode.c ARM: imx: Add support for reading out the primary/secondary bmode 2020-08-17 17:55:17 +02:00
cmd_dek.c imx: move imx8 sci header file to include/firmware/imx 2023-05-21 16:54:32 +02:00
cmd_hdmidet.c command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
cmd_mfgprot.c global: Migrate CONFIG_SYS_FSL* symbols to the CFG_SYS namespace 2022-11-10 10:08:55 -05:00
cmd_nandbcb.c arm: mach-imx: cmd_nandbcb fix bad block handling 2022-05-20 12:36:48 +02:00
cpu.c ARM: imx: Add weak default reset_cpu() 2023-06-24 13:46:58 -04:00
ddrmc-vf610-calibration.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
ddrmc-vf610-calibration.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
ddrmc-vf610.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
ele_ahab.c imx: ele_ahab: Remove OEM Secure World Closed print 2023-03-29 22:27:38 +02:00
hab.c imx: hab: Fix a couple of build warnings with DEBUG enabled 2023-06-24 13:47:01 -04:00
i2c-mxv7.c ARM: imx: imx8mp: Enable support for i2c5 and i2c6 on i.MX8MP 2022-11-07 22:45:05 +01:00
image-container.c spl: Add function prototype for spl_mmc_get_uboot_raw_sector 2023-03-22 15:22:48 -04:00
imx_bootaux.c ARM: imx: bootaux: Fix LTO -Wlto-type-mismatch 2023-01-30 23:23:02 +01:00
init.c ARM: imx: Add support for switching primary/secondary boot mode to bmode 2020-08-17 17:54:01 +02:00
iomux-v3.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Kconfig Convert CONFIG_DM9000_BYTE_SWAPPED et al to Kconfig 2022-12-22 10:31:47 -05:00
mac.c arm: mach-imx: Update MAC fuse for i.MX8MP 2021-10-21 13:59:26 +02:00
Makefile arm: mach-imx: use CONFIG_$(SPL_)SATA instead of CONFIG_SATA 2023-05-10 16:45:42 -04:00
misc.c lmb: Remove imx board_lmb_reserve() 2021-09-23 14:15:32 -04:00
mmc_env.c Revert "imx: mmc_env: update runtime SD/MMC boot env device" 2019-10-08 16:36:37 +02:00
mmdc_size.c arm/mach-imx: Fix macros in mmdc_size.c 2021-07-10 16:53:34 +02:00
parse-container.c imx: move imx8 sci header file to include/firmware/imx 2023-05-21 16:54:32 +02:00
priblob.c imx: cmd: use struct cmd_tbl 2021-08-09 14:46:51 +02:00
rdc-sema.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
romapi.c imx: fix get_boot_device() for imx8 2023-05-02 10:57:32 +02:00
sata.c arm: Don't include common.h in header files 2020-05-18 14:54:24 -04:00
speed.c global: Migrate CONFIG_SYS_FSL* symbols to the CFG_SYS namespace 2022-11-10 10:08:55 -05:00
spl.c imx: hab: Simplify the mechanism 2023-06-24 13:47:02 -04:00
spl_imx_romapi.c imx: spl_imx_romapi: typo fix 2023-05-21 13:48:52 +02:00
spl_qspi.cfg imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
spl_sd.cfg imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
syscounter.c global: Migrate CONFIG_SC_TIMER_CLK to CFG 2022-12-23 10:15:12 -05:00
timer.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
video.c env: Move env_get() to env.h 2019-08-11 16:43:41 -04:00