Hi On Thu, Apr 21, 2022 at 7:03 PM Fabio Estevam <feste...@denx.de> wrote: > > On 21/04/2022 14:01, Michael Nazzareno Trimarchi wrote: > > > I have seen those patches already but the cost of a function pointer > > and a call is more readable. If they get applied, I will be fine with > > them ;) > > They are already in master. > > How do we proceed to fix the U-Boot load via USB?
The uboot has no problem, the problem is that the function is wrong ;). When you boot from USB you should inform where to pick the environment. You can force ENV_EVERYWHERE for those architectures, you can decide to change the switch as I said, or you can add in your board and override at board level the function ;) Michael -- Michael Nazzareno Trimarchi Co-Founder & Chief Executive Officer M. +39 347 913 2170 mich...@amarulasolutions.com __________________________________ Amarula Solutions BV Joop Geesinkweg 125, 1114 AB, Amsterdam, NL T. +31 (0)85 111 9172 i...@amarulasolutions.com www.amarulasolutions.com