]> git.sur5r.net Git - u-boot/blobdiff - include/environment.h
env: make "env default" selective, check and apply
[u-boot] / include / environment.h
index 90fb1302b1e6ffb077f8d1941b4f841804b6df23..e8ab7033bf7e75166d2e008985215da45146471d 100644 (file)
@@ -181,6 +181,9 @@ void env_crc_update(void);
 /* [re]set to the default environment */
 void set_default_env(const char *s);
 
+/* [re]set individual variables to their value in the default environment */
+int set_default_vars(int nvars, char * const vars[]);
+
 /* Import from binary representation into hash table */
 int env_import(const char *buf, int check);