From: Jagannadha Sutradharudu Teki Date: Fri, 7 Dec 2012 09:53:39 +0000 (+0530) Subject: zynq: Enable HUSH command line interpreter support X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=26786228acfdc0a02190a8d9ca9fcca51a5dcf28;p=thirdparty%2Fu-boot.git zynq: Enable HUSH command line interpreter support 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 Acked-by: Michal Simek --- diff --git a/include/configs/zynq_common.h b/include/configs/zynq_common.h index 25c2429efc5..971e176047f 100644 --- a/include/configs/zynq_common.h +++ b/include/configs/zynq_common.h @@ -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