[U-Boot] [PATCH V2] edminiv2: add hush parser, cmdline editing and long help

Albert ARIBAUD albert.u.boot at aribaud.net
Mon Jan 16 21:11:50 CET 2012


Signed-off-by: Albert ARIBAUD <albert.u.boot at aribaud.net>
---
Patch history:
 V2: include cmdline editing, forgotten in V1

 include/configs/edminiv2.h |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/include/configs/edminiv2.h b/include/configs/edminiv2.h
index 88d32b2..988d045 100644
--- a/include/configs/edminiv2.h
+++ b/include/configs/edminiv2.h
@@ -221,6 +221,16 @@
 #define CONFIG_SYS_RESET_ADDRESS	0xffff0000
 #define CONFIG_SYS_MAXARGS		16
 
+/* Use the HUSH parser */
+#define CONFIG_SYS_HUSH_PARSER
+#define CONFIG_SYS_PROMPT_HUSH_PS2	"> "
+
+/* Enable command line editing */
+#define CONFIG_CMDLINE_EDITING
+
+/* provide extensive help */
+#define CONFIG_SYS_LONGHELP
+
 /* additions for new relocation code, must be added to all boards */
 #define CONFIG_SYS_SDRAM_BASE		0
 #define CONFIG_SYS_INIT_SP_ADDR	\
-- 
1.7.5.4



More information about the U-Boot mailing list