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 <[email protected]> > Cc: Nobuhiro Iwamatsu <[email protected]> > Cc: Tom Rini <[email protected]>
Please ignore, there's a better way to do this. -- Best regards, Marek Vasut _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

