imx8mn/8mp: Allow booting via USB
authorFabio Estevam <festevam@denx.de>
Thu, 21 Apr 2022 18:05:23 +0000 (15:05 -0300)
committerStefano Babic <sbabic@denx.de>
Thu, 19 May 2022 19:39:36 +0000 (21:39 +0200)
commitd175982c207bb2ace592d7985cd3f05ab99759d9
tree850e66e22c0f211625bb6d4c732ef2a0839ce1ae
parent7038156447a6d3c3825cae713fe491eafd70537d
imx8mn/8mp: Allow booting via USB

When trying to boot via USB on i.MX8MN it is necessary to specify
the U-Boot environment location, otherwise the boot process simply
hangs.

Specify the environment location when booting from USB.

Tested on a imx8mn-evk.

Suggested-by: Michael Nazzareno Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Fabio Estevam <festevam@denx.de>
Tested-By: Tim Harvey <tharvey@gateworks.com>
arch/arm/mach-imx/imx8m/soc.c