]> git.sur5r.net Git - u-boot/commit
env: Initialise all the environments
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 23 Jan 2018 20:16:59 +0000 (21:16 +0100)
committerTom Rini <trini@konsulko.com>
Sat, 27 Jan 2018 14:21:57 +0000 (09:21 -0500)
commit1d4460871b46e0ed5c81ff7d8eea50e7fc9a66e5
tree6cf7f21e3fbb20801833155b8d76c12a5e028b07
parent7d714a24d7258db1188abe3c7c9c46a1cc7ab8be
env: Initialise all the environments

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.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
env/env.c
include/asm-generic/global_data.h