summaryrefslogtreecommitdiff
path: root/common/menu.c
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 /common/menu.c
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 'common/menu.c')
-rw-r--r--common/menu.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/common/menu.c b/common/menu.c
index 88d4697..94afeb2 100644
--- a/common/menu.c
+++ b/common/menu.c
@@ -197,8 +197,9 @@ static inline int menu_interactive_choice(struct menu *m, void **choice)
menu_display(m);
if (!m->item_choice) {
- readret = readline_into_buffer("Enter choice: ", cbuf,
- m->timeout / 10);
+ readret = cli_readline_into_buffer("Enter choice: ",
+ cbuf,
+ m->timeout / 10);
if (readret >= 0) {
choice_item = menu_item_by_key(m, cbuf);