Forked from
Reform / reform-boundary-uboot
Source project has a limited visibility.
-
Simon Glass authored
The load() methods have inconsistent behaviour on error. Some of them load an empty default environment. Some load an environment containing an error message. Others do nothing. As a step in the right direction, have the method return an error code. Then the caller could handle this itself in a consistent way. Signed-off-by:
Simon Glass <sjg@chromium.org>
Simon Glass authoredThe load() methods have inconsistent behaviour on error. Some of them load an empty default environment. Some load an environment containing an error message. Others do nothing. As a step in the right direction, have the method return an error code. Then the caller could handle this itself in a consistent way. Signed-off-by:
Simon Glass <sjg@chromium.org>