diff options
author | Simon Glass <sjg@chromium.org> | 2017-08-03 12:22:01 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-08-15 20:50:27 -0400 |
commit | e5bce247b01ae057f05cc80178f0df28ec1d27a7 (patch) | |
tree | 98a5f6c12ce94369f76db33a6347791392003241 /env/nowhere.c | |
parent | c9d728dd33fe7c45711395c72b2113ea7c18fc72 (diff) | |
download | u-boot-e5bce247b01ae057f05cc80178f0df28ec1d27a7.tar.gz |
env: Switch over to use environment location drivers
Move over to use a the master implementation of the location drivers, with
each method calling out to the appropriate driver.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'env/nowhere.c')
-rw-r--r-- | env/nowhere.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/env/nowhere.c b/env/nowhere.c index c58d299308..6a67ab09ff 100644 --- a/env/nowhere.c +++ b/env/nowhere.c @@ -17,7 +17,7 @@ DECLARE_GLOBAL_DATA_PTR; env_t *env_ptr; -void env_relocate_spec(void) +static void env_nowhere_load(void) { } @@ -26,7 +26,7 @@ void env_relocate_spec(void) * * We are still running from ROM, so data use is limited */ -int env_init(void) +static int env_nowhere_init(void) { gd->env_addr = (ulong)&default_environment[0]; gd->env_valid = 0; @@ -36,6 +36,6 @@ int env_init(void) U_BOOT_ENV_LOCATION(nowhere) = { .location = ENVL_NOWHERE, - .load = env_relocate_spec, - .init = env_init, + .load = env_nowhere_load, + .init = env_nowhere_init, }; |