On 16 January 2018 at 01:16, Maxime Ripard <maxime.rip...@free-electrons.com> wrote: > Since we want to have multiple environments, we will need to initialise > all the environments since we don't know at init time what drivers might > fail when calling load. > > Let's init all of them, and only consider for further operations the ones > that have not reported any errors at init time. > > Signed-off-by: Maxime Ripard <maxime.rip...@free-electrons.com> > --- > env/env.c | 36 +++++++++++++++++++++++++------- > include/asm-generic/global_data.h | 1 +- > 2 files changed, 30 insertions(+), 7 deletions(-)
Reviewed-by: Simon Glass <s...@chromium.org> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot