X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=env%2Fremote.c;h=c221d55c4f7920eeae88b6c855c8a3b3e6e2df5c;hb=4415f1d1f1c57d43f6bc8ff156554c2b2da45b52;hp=e003e02fb9ec6c8ec8035a220eeec049bcc941de;hpb=42a8180d19ad8f45b4639015050bc709caa4f32c;p=oweals%2Fu-boot.git diff --git a/env/remote.c b/env/remote.c index e003e02fb9..c221d55c4f 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, +};