]> git.baikalelectronics.ru Git - uboot.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)
commit01fa092e5e399da4393269f8827bce8ac529caa4
tree707b0d483772d80aa5c25b50e0a82d06b81bf738
parent17a4edd3aa7da2b169c26143888df47eb74024e2
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