]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
zynq: Enable HUSH command line interpreter support
authorJagannadha Sutradharudu Teki <jagannadha.sutradharudu-teki@xilinx.com>
Fri, 7 Dec 2012 09:53:39 +0000 (15:23 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 7 Dec 2012 10:40:52 +0000 (11:40 +0100)
Defined CONFIG_SYS_HUSH_PARSER to enable the "hush" shell
as command line interpreter, thus enabling powerful command
line syntax like if...then...else...fi conditionals or
`&&' and '||' constructs.

Defined CONFIG_SYS_PROMPT_HUSH_PS2 to enable the
secondary prompt string, which is printed when the
hush command interpreter needs more input to complete
a command.

Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
Acked-by: Michal Simek <michal.simek@xilinx.com>
include/configs/zynq_common.h

index 25c2429efc5fa357bec14fc8d3cea074c5c9b44b..971e176047f81f0413ae118f3b6869b529cf7cd7 100644 (file)
@@ -84,6 +84,8 @@
 #define CONFIG_SYS_HZ          1000
 
 #define CONFIG_AUTO_COMPLETE
+#define CONFIG_SYS_HUSH_PARSER /* use "hush" command parser */
+#define CONFIG_SYS_PROMPT_HUSH_PS2     "> "
 #define CONFIG_CMDLINE_EDITING
 #define CONFIG_SYS_LONGHELP