diff options
author | Adam Ford <aford173@gmail.com> | 2022-01-26 12:25:23 -0600 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2022-02-05 15:49:01 +0100 |
commit | 2c7ebf7778cf8afcec55ca418daba1e1d10075b7 (patch) | |
tree | 0258a32adcd54e2e5618baf8dea485e80befe4e9 /configs/imx8mn_beacon_2g_defconfig | |
parent | 6c3373b3868648fec656f32562eba9c8849441ed (diff) | |
download | u-boot-2c7ebf7778cf8afcec55ca418daba1e1d10075b7.tar.gz |
imx: imx8mn_beacon: Fix USB booting
The i.MX8M Nano can boot over USB using the boot ROM instead of
adding extra code to SPL to support USB drivers, etc. However,
when booting from USB, the environment doesnt' know where to load
and causes a hang. Fix this hang by supporting CONFIG_ENV_IS_NOWHERE=y.
It only falls back to this condition when booting from USB, so it
does not impact MMC booting.
Suggested-by: Michael Nazzareno Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Diffstat (limited to 'configs/imx8mn_beacon_2g_defconfig')
-rw-r--r-- | configs/imx8mn_beacon_2g_defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/imx8mn_beacon_2g_defconfig b/configs/imx8mn_beacon_2g_defconfig index 8b98d687ec8..1766a43cce5 100644 --- a/configs/imx8mn_beacon_2g_defconfig +++ b/configs/imx8mn_beacon_2g_defconfig @@ -66,6 +66,7 @@ CONFIG_OF_CONTROL=y CONFIG_SPL_OF_CONTROL=y CONFIG_OF_SPL_REMOVE_PROPS="interrupt-parent interrupts" CONFIG_ENV_OVERWRITE=y +CONFIG_ENV_IS_NOWHERE=y CONFIG_ENV_IS_IN_MMC=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_SYS_MMC_ENV_DEV=2 |