On 04/16/2018 10:44 PM, Marek Vasut wrote: > Add board_should_load_env() hook which lets board code decide whether > environment should be loaded. This is useful when restoring the board > over ie. JTAG where the environment may interfere and where it may be > desired to ignore the environment present on the board. > > The return value of board_should_load_env() is: > 0 - do not load environment > 1 - load environment > -EAGAIN - default behavior > > Signed-off-by: Marek Vasut <marek.vasut+rene...@gmail.com> > Cc: Nobuhiro Iwamatsu <iwama...@nigauri.org> > Cc: Tom Rini <tr...@konsulko.com>
Please ignore, there's a better way to do this. -- Best regards, Marek Vasut _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot