]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - env/remote.c
Convert CONFIG_BOOTCOUNT_LIMIT to Kconfig
[people/ms/u-boot.git] / env / remote.c
index 0d8865bd67777bf8b5b7fe9df08a7f7cf6a45c26..379d0eb1bb333186cae1c26db32df3b30d1765f1 100644 (file)
@@ -46,11 +46,13 @@ static int env_remote_save(void)
 }
 #endif /* CONFIG_CMD_SAVEENV */
 
-static void env_remote_load(void)
+static int env_remote_load(void)
 {
 #ifndef ENV_IS_EMBEDDED
-       env_import((char *)env_ptr, 1);
+       return env_import((char *)env_ptr, 1);
 #endif
+
+       return 0;
 }
 
 U_BOOT_ENV_LOCATION(remote) = {