]> git.dujemihanovic.xyz Git - u-boot.git/commit
imx: imx8mn_beacon: Fix USB booting
authorAdam Ford <aford173@gmail.com>
Wed, 26 Jan 2022 18:25:23 +0000 (12:25 -0600)
committerStefano Babic <sbabic@denx.de>
Sat, 5 Feb 2022 14:49:01 +0000 (15:49 +0100)
commit2c7ebf7778cf8afcec55ca418daba1e1d10075b7
tree0258a32adcd54e2e5618baf8dea485e80befe4e9
parent6c3373b3868648fec656f32562eba9c8849441ed
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>
configs/imx8mn_beacon_2g_defconfig
configs/imx8mn_beacon_defconfig