]> Git Repo - u-boot.git/blobdiff - include/env.h
bootm: Tidy up use of autostart env var
[u-boot.git] / include / env.h
index ee5e30d036d401ce81a1fc157cf1c702cb8c29c9..ff8943ed96c62284afd724d5a7f0513573b91eab 100644 (file)
@@ -133,6 +133,13 @@ int env_get_f(const char *name, char *buf, unsigned int len);
  */
 int env_get_yesno(const char *var);
 
+/**
+ * env_get_autostart() - Check if autostart is enabled
+ *
+ * @return true if the "autostart" env var exists and is set to "yes"
+ */
+bool env_get_autostart(void);
+
 /**
  * env_set() - set an environment variable
  *
This page took 0.031371 seconds and 4 git commands to generate.