summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2014-04-10 20:01:26 -0600
committerTom Rini <[email protected]>2014-05-29 17:45:31 -0400
commit6493ccc7cf2357081267effffa7d345e50d68d00 (patch)
tree5f66ce6f330164e3ca0663333e867f31f53110e9 /include
parent18d66533ac773f59efc93e5c19971fad5e6af82f (diff)
Split out simple parser and readline into separate files
It doesn't make sense to have the simple parser and the readline code all in main. Split them out into separate files. Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/cli.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/cli.h b/include/cli.h
index 0075bd44c94..b04539f3202 100644
--- a/include/cli.h
+++ b/include/cli.h
@@ -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