diff options
author | Simon Glass <sjg@chromium.org> | 2014-04-10 20:01:26 -0600 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-05-29 17:45:31 -0400 |
commit | 6493ccc7cf2357081267effffa7d345e50d68d00 (patch) | |
tree | 5f66ce6f330164e3ca0663333e867f31f53110e9 /include/cli.h | |
parent | 18d66533ac773f59efc93e5c19971fad5e6af82f (diff) | |
download | u-boot-imx-6493ccc7cf2357081267effffa7d345e50d68d00.zip u-boot-imx-6493ccc7cf2357081267effffa7d345e50d68d00.tar.gz u-boot-imx-6493ccc7cf2357081267effffa7d345e50d68d00.tar.bz2 |
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 <sjg@chromium.org>
Diffstat (limited to 'include/cli.h')
-rw-r--r-- | include/cli.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/cli.h b/include/cli.h index 0075bd4..b04539f 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 |