summaryrefslogtreecommitdiff
path: root/common/cli_simple.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-04-10 20:01:34 -0600
committerTom Rini <trini@ti.com>2014-05-29 17:51:42 -0400
commitc1bb2cd0b6a3d1b152be3686601234b3a363772b (patch)
tree3e9227a68f254ed1439c5091d00563860b0ce207 /common/cli_simple.c
parent1364a0e48a64a29930a8b22620f420e8f4984cc7 (diff)
downloadu-boot-imx-c1bb2cd0b6a3d1b152be3686601234b3a363772b.zip
u-boot-imx-c1bb2cd0b6a3d1b152be3686601234b3a363772b.tar.gz
u-boot-imx-c1bb2cd0b6a3d1b152be3686601234b3a363772b.tar.bz2
main: Hide the hush/simple details inside cli.c
Move these details from main (which doesn't care which parser is used) to cli.c where they belong. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/cli_simple.c')
-rw-r--r--common/cli_simple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cli_simple.c b/common/cli_simple.c
index bba586e..413c2eb 100644
--- a/common/cli_simple.c
+++ b/common/cli_simple.c
@@ -256,7 +256,7 @@ int cli_simple_run_command(const char *cmd, int flag)
return rc ? rc : repeatable;
}
-void cli_loop(void)
+void cli_simple_loop(void)
{
static char lastcommand[CONFIG_SYS_CBSIZE] = { 0, };