Felix.Vietmeyer@jila.colorado.edu 8d61237edb env: Load env when ENV_IS_NOWHERE is only location selected
This patch prevent u-boot from hanging on a UltraZed EG board (zynqmp).

Without the patch,
(drv = env_driver_lookup(ENVOP_INIT, prio))
evaluates to 0, causing prio = 0
Then, (!prio) is hit, returning -ENODEV causing a stall.

With the patch,
instead of returning -ENODEV and causing a stall, we
set gd->env_addr (is this really needed?)
and then
mark gd->env_valid = ENV_INVALID to use the default env.
2022-04-07 13:52:36 -04:00
..
2022-01-19 18:11:34 +01:00
2021-04-16 17:32:34 -04:00
2021-10-31 12:26:44 -06:00
2022-03-18 12:48:17 -04:00
2021-10-31 12:26:44 -06:00