summaryrefslogtreecommitdiff
path: root/common/cli_hush.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-04-10 20:01:30 -0600
committerTom Rini <trini@ti.com>2014-05-29 17:48:21 -0400
commit0098e179e1afacb3cf595c67a98b8739dc7edcde (patch)
treec19140ef37a8f86d6ccd5d2a065239f09cf09121 /common/cli_hush.c
parent30354978ff470470c15caea2566b61b5792ad277 (diff)
downloadu-boot-imx-0098e179e1afacb3cf595c67a98b8739dc7edcde.zip
u-boot-imx-0098e179e1afacb3cf595c67a98b8739dc7edcde.tar.gz
u-boot-imx-0098e179e1afacb3cf595c67a98b8739dc7edcde.tar.bz2
Move bootretry code into bootretry.c and clean up
This code is only used by one board, so it seems a shame to clutter up the readline code with it. Move it into its own file. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/cli_hush.c')
-rw-r--r--common/cli_hush.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/cli_hush.c b/common/cli_hush.c
index a612bfb..d6544ae 100644
--- a/common/cli_hush.c
+++ b/common/cli_hush.c
@@ -79,6 +79,7 @@
#include <malloc.h> /* malloc, free, realloc*/
#include <linux/ctype.h> /* isalpha, isdigit */
#include <common.h> /* readline */
+#include <bootretry.h>
#include <cli.h>
#include <cli_hush.h>
#include <command.h> /* find_cmd */