diff options
author | Michal Simek <monstr@monstr.eu> | 2009-08-14 13:41:17 +0200 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2009-09-14 14:40:04 +0200 |
commit | 0900bee9ab9818439b2d1298fa8909a88f74ec0d (patch) | |
tree | e4dd9e6c880fbc8bb01fa85c98737810157931b7 /include/configs | |
parent | 13916abf996b127b681ddc26664c236ded28ba7f (diff) | |
download | u-boot-imx-0900bee9ab9818439b2d1298fa8909a88f74ec0d.zip u-boot-imx-0900bee9ab9818439b2d1298fa8909a88f74ec0d.tar.gz u-boot-imx-0900bee9ab9818439b2d1298fa8909a88f74ec0d.tar.bz2 |
microblaze: Enable hush parser
With Hush parser is possible to change command line in dtb
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/microblaze-generic.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h index 4ab8ca3..b486c77 100644 --- a/include/configs/microblaze-generic.h +++ b/include/configs/microblaze-generic.h @@ -288,7 +288,7 @@ #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"\ @@ -298,4 +298,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 */ |