summaryrefslogtreecommitdiff
path: root/board/hymod
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-04-10 20:01:27 -0600
committerTom Rini <trini@ti.com>2014-05-29 17:45:31 -0400
commite1bf824dfd6881f6f633238c275bfa1e5d83c433 (patch)
tree4d43bd0b4d0fdae2f737c2ad9670005300dea87f /board/hymod
parent6493ccc7cf2357081267effffa7d345e50d68d00 (diff)
downloadu-boot-imx-e1bf824dfd6881f6f633238c275bfa1e5d83c433.zip
u-boot-imx-e1bf824dfd6881f6f633238c275bfa1e5d83c433.tar.gz
u-boot-imx-e1bf824dfd6881f6f633238c275bfa1e5d83c433.tar.bz2
Add cli_ prefix to readline functions
This makes it clear where the code resides. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/hymod')
-rw-r--r--board/hymod/hymod.c2
-rw-r--r--board/hymod/input.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/board/hymod/hymod.c b/board/hymod/hymod.c
index ea49e26..55ffd67 100644
--- a/board/hymod/hymod.c
+++ b/board/hymod/hymod.c
@@ -416,7 +416,7 @@ last_stage_init (void)
#ifdef CONFIG_BOOT_RETRY_TIME
/*
- * we use the readline () function, but we also want
+ * we use the cli_readline() function, but we also want
* command timeout enabled
*/
init_cmd_timeout ();
diff --git a/board/hymod/input.c b/board/hymod/input.c
index 23d3f19..59ad6aa 100644
--- a/board/hymod/input.c
+++ b/board/hymod/input.c
@@ -19,7 +19,7 @@ hymod_get_serno (const char *prompt)
reset_cmd_timeout ();
#endif
- n = readline (prompt);
+ n = cli_readline(prompt);
if (n < 0)
return (n);
@@ -47,7 +47,7 @@ hymod_get_ethaddr (void)
reset_cmd_timeout ();
#endif
- n = readline ("Enter board ethernet address: ");
+ n = cli_readline("Enter board ethernet address: ");
if (n < 0)
return (n);