]> git.dujemihanovic.xyz Git - u-boot.git/commit
env: Allow env_load() to detect errors
authorSimon Glass <sjg@chromium.org>
Sun, 20 Aug 2017 10:45:14 +0000 (04:45 -0600)
committerTom Rini <trini@konsulko.com>
Sun, 20 Aug 2017 23:27:43 +0000 (19:27 -0400)
commitc55d8b940047050176ded2e24be74f4a97e093e3
tree707b0d483772d80aa5c25b50e0a82d06b81bf738
parenteeba55cb4a8a29a47d0d26692c188b47ba6bf396
env: Allow env_load() to detect errors

Now that we have errors available in the environment driver's load()
method, check the return valid.

Signed-off-by: Simon Glass <sjg@chromium.org>
env/env.c