diff options
author | Simon Glass <sjg@chromium.org> | 2017-08-03 12:22:07 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-08-15 20:50:29 -0400 |
commit | 310fb14b2631b2175efe9b0e56d0f1630ad02d91 (patch) | |
tree | 2e54133d897af5c49ff1727feef4fab07e235fe3 /env | |
parent | a69d0f60e500a7ba0be8d33fb6321e3b38cd21df (diff) | |
download | u-boot-310fb14b2631b2175efe9b0e56d0f1630ad02d91.tar.gz u-boot-310fb14b2631b2175efe9b0e56d0f1630ad02d91.tar.bz2 u-boot-310fb14b2631b2175efe9b0e56d0f1630ad02d91.zip |
env: Drop env_relocate_spec() in favour of env_load()
This is a strange name for a function that loads the environment. There is
now only one implementation of this function, so use the new env_load()
function directly instead.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'env')
-rw-r--r-- | env/common.c | 2 | ||||
-rw-r--r-- | env/env.c | 5 |
2 files changed, 1 insertions, 6 deletions
diff --git a/env/common.c b/env/common.c index 9b3a26859f..0cc8829d0d 100644 --- a/env/common.c +++ b/env/common.c @@ -280,7 +280,7 @@ void env_relocate(void) set_default_env("!bad CRC"); #endif } else { - env_relocate_spec(); + env_load(); } } @@ -150,11 +150,6 @@ int env_init(void) return 0; } -void env_relocate_spec(void) -{ - env_load(); -} - int saveenv(void) { return env_save(); |