]> git.sur5r.net Git - u-boot/blobdiff - include/environment.h
arm: socfpga: Remove unused passing parameter of socfpga_bridges_reset
[u-boot] / include / environment.h
index b602e8ac46b6be055e6811697023006b9f3b48fd..d86230a2e927e311b4e44d44c3f9dae481e778f8 100644 (file)
@@ -8,6 +8,8 @@
 #ifndef _ENVIRONMENT_H_
 #define _ENVIRONMENT_H_
 
+#include <linux/kconfig.h>
+
 /**************************************************************************
  *
  * The "environment" is stored as a list of '\0' terminated
@@ -222,6 +224,11 @@ int env_import(const char *buf, int check);
 /* Export from hash table into binary representation */
 int env_export(env_t *env_out);
 
+#ifdef CONFIG_SYS_REDUNDAND_ENVIRONMENT
+/* Select and import one of two redundant environments */
+int env_import_redund(const char *buf1, const char *buf2);
+#endif
+
 #endif /* DO_DEPS_ONLY */
 
 #endif /* _ENVIRONMENT_H_ */