summaryrefslogtreecommitdiff
path: root/env/remote.c
diff options
context:
space:
mode:
Diffstat (limited to 'env/remote.c')
-rw-r--r--env/remote.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/env/remote.c b/env/remote.c
index e003e02..c221d55 100644
--- a/env/remote.c
+++ b/env/remote.c
@@ -56,3 +56,11 @@ void env_relocate_spec(void)
env_import((char *)env_ptr, 1);
#endif
}
+
+U_BOOT_ENV_LOCATION(remote) = {
+ .location = ENVL_REMOTE,
+ .get_char = env_get_char_spec,
+ .load = env_relocate_spec,
+ .save = env_save_ptr(saveenv),
+ .init = env_init,
+};