[U-Boot] [PATCH 3/7] microblaze: Enable hush parser

monstr at monstr.eu monstr at monstr.eu
Thu Aug 20 22:52:27 CEST 2009


From: Michal Simek <monstr at monstr.eu>

With Hush parser is possible to change command line in dtb

Signed-off-by: Michal Simek <monstr at monstr.eu>
Signed-off-by: Michal Simek <michal.simek at petalogix.com>
---
 include/configs/microblaze-generic.h |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h
index 89e4bcc..beb31d3 100644
--- a/include/configs/microblaze-generic.h
+++ b/include/configs/microblaze-generic.h
@@ -303,4 +303,10 @@
 
 #define CONFIG_CMDLINE_EDITING
 
+/* Use the HUSH parser */
+#define CONFIG_SYS_HUSH_PARSER
+#ifdef  CONFIG_SYS_HUSH_PARSER
+#define CONFIG_SYS_PROMPT_HUSH_PS2 "> "
+#endif
+
 #endif	/* __CONFIG_H */
-- 
1.5.4.7



More information about the U-Boot mailing list