]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/environment.h
env: Pass additional parameters to the env lookup function
[people/ms/u-boot.git] / include / environment.h
index a2015c299aa909a029dce55a1a6db1203b053271..a4060506fabb543ab291feb394c8059c8c1454aa 100644 (file)
@@ -205,6 +205,14 @@ enum env_location {
        ENVL_UNKNOWN,
 };
 
+/* value for the various operations we want to perform on the env */
+enum env_operation {
+       ENVOP_GET_CHAR, /* we want to call the get_char function */
+       ENVOP_INIT,     /* we want to call the init function */
+       ENVOP_LOAD,     /* we want to call the load function */
+       ENVOP_SAVE,     /* we want to call the save function */
+};
+
 struct env_driver {
        const char *name;
        enum env_location location;