]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - include/cli.h
Split out simple parser and readline into separate files
[karo-tx-uboot.git] / include / cli.h
index 0075bd44c94ada12471743d3a3b8270ed836ad14..b04539f3202f855f42067f70d281b21943b6789a 100644 (file)
@@ -99,4 +99,9 @@ int readline_into_buffer(const char *const prompt, char *buffer, int timeout);
  */
 int parse_line(char *line, char *argv[]);
 
+/** bootretry_dont_retry() - Indicate that we should not retry the boot */
+void bootretry_dont_retry(void);
+
+#define endtick(seconds) (get_ticks() + (uint64_t)(seconds) * get_tbclk())
+
 #endif