summaryrefslogtreecommitdiff
path: root/board/hymod
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 /board/hymod
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 'board/hymod')
-rw-r--r--board/hymod/hymod.c1
-rw-r--r--board/hymod/input.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/board/hymod/hymod.c b/board/hymod/hymod.c
index 55ffd67..f6990e9 100644
--- a/board/hymod/hymod.c
+++ b/board/hymod/hymod.c
@@ -8,6 +8,7 @@
*/
#include <common.h>
+#include <bootretry.h>
#include <cli.h>
#include <mpc8260.h>
#include <mpc8260_irq.h>
diff --git a/board/hymod/input.c b/board/hymod/input.c
index 59ad6aa..2f857c0 100644
--- a/board/hymod/input.c
+++ b/board/hymod/input.c
@@ -6,6 +6,7 @@
*/
#include <common.h>
+#include <bootretry.h>
#include <cli.h>
int