summaryrefslogtreecommitdiffstats
path: root/common/main.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2007-07-05 18:01:49 +0200
committerSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-07-05 18:01:49 +0200
commitf6feb18cdcc840cb77abc4a2a1ef24c130127e81 (patch)
treee464ccccffc48e189ec09077c2537af972c6d20c /common/main.c
parent6010c5109788ed3233b13a715bb0de4ad365a106 (diff)
downloadbarebox-f6feb18cdcc840cb77abc4a2a1ef24c130127e81.tar.gz
barebox-f6feb18cdcc840cb77abc4a2a1ef24c130127e81.tar.xz
svn_rev_385
u_boot_hush_start() is gone, change to new readline prototype
Diffstat (limited to 'common/main.c')
-rw-r--r--common/main.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/common/main.c b/common/main.c
index 24a5f8867d..23052aa49a 100644
--- a/common/main.c
+++ b/common/main.c
@@ -308,10 +308,6 @@ void main_loop (void)
bootlimit = bcs ? simple_strtoul (bcs, NULL, 10) : 0;
#endif /* CONFIG_BOOTCOUNT_LIMIT */
-#ifdef CONFIG_HUSH_PARSER
- u_boot_hush_start ();
-#endif
-
#ifdef CONFIG_AUTO_COMPLETE
install_auto_complete();
#endif
@@ -406,7 +402,7 @@ void main_loop (void)
reset_cmd_timeout();
}
#endif
- len = readline (CONFIG_PROMPT);
+ len = readline (CONFIG_PROMPT, console_buffer, CONFIG_CBSIZE);
flag = 0; /* assume no special flags for now */
if (len > 0)