From 26786228acfdc0a02190a8d9ca9fcca51a5dcf28 Mon Sep 17 00:00:00 2001 From: Jagannadha Sutradharudu Teki Date: Fri, 7 Dec 2012 15:23:39 +0530 Subject: [PATCH] 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 --- include/configs/zynq_common.h | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.47.3