]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
microblaze: Enable hush parser
authorMichal Simek <monstr@monstr.eu>
Fri, 14 Aug 2009 11:41:17 +0000 (13:41 +0200)
committerMichal Simek <monstr@monstr.eu>
Mon, 14 Sep 2009 12:40:04 +0000 (14:40 +0200)
With Hush parser is possible to change command line in dtb

Signed-off-by: Michal Simek <monstr@monstr.eu>
include/configs/microblaze-generic.h

index 4ab8ca399199a304c9a773bd079b24f0b5ffa01e..b486c7753c8e699aca2690ae64d123d2e7c19a8d 100644 (file)
 #define        CONFIG_SYS_USR_EXCEP    /* user exception */
 #define CONFIG_SYS_HZ  1000
 
-#define        CONFIG_PREBOOT          "echo U-BOOT for $(hostname);setenv preboot;echo"
+#define        CONFIG_PREBOOT  "echo U-BOOT for ${hostname};setenv preboot;echo"
 
 #define        CONFIG_EXTRA_ENV_SETTINGS       "unlock=yes\0" /* hardware flash protection */\
                                        "nor0=ml401-0\0"\
 
 #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 */