]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/env_flags.h
env: Add a command to display details about env flags
[karo-tx-uboot.git] / include / env_flags.h
index 33334464d430ae77c7e1eb130ff815a1667da3b4..7e72523f02666e06db474b2c7d49f63b35ab49d1 100644 (file)
@@ -47,6 +47,17 @@ enum env_flags_vartype {
 #define ENV_FLAGS_LIST_STATIC \
        CONFIG_ENV_FLAGS_LIST_STATIC
 
+#ifdef CONFIG_CMD_ENV_FLAGS
+/*
+ * Print the whole list of available type flags.
+ */
+void env_flags_print_vartypes(void);
+/*
+ * Return the name of the type.
+ */
+const char *env_flags_get_vartype_name(enum env_flags_vartype type);
+#endif
+
 /*
  * Parse the flags string from a .flags attribute list into the vartype enum.
  */