diff options
| author | Tom Rini <trini@ti.com> | 2012-06-19 15:54:35 -0700 | 
|---|---|---|
| committer | Wolfgang Denk <wd@denx.de> | 2012-06-20 20:36:51 +0200 | 
| commit | 219f4788d33b04e394d4ade1feaedc0292acc790 (patch) | |
| tree | f3829771b07673cb0571fc9a02aba66689d8249b /common/hush.c | |
| parent | 26750c8aee2383a026e0cf89e9310628d3a5a6a0 (diff) | |
| download | olio-uboot-2014.01-219f4788d33b04e394d4ade1feaedc0292acc790.tar.xz olio-uboot-2014.01-219f4788d33b04e394d4ade1feaedc0292acc790.zip | |
hush.c: Move default CONFIG_SYS_PROMPT_HUSH_PS2 to hush.c
Exactly one board has defined CONFIG_SYS_PROMPT_HUSH_PS2 to a value
different than "> " which is vision2.  I have Cc'd the maintainer here
as I strongly suspect this is a bug rather than intentional behavior.
Cc: Stefano Babic <sbabic@denx.de>
Signed-off-by: Tom Rini <trini@ti.com>
Acked-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'common/hush.c')
| -rw-r--r-- | common/hush.c | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/common/hush.c b/common/hush.c index 672ab9e15..1eff182ef 100644 --- a/common/hush.c +++ b/common/hush.c @@ -92,6 +92,9 @@  #include <common.h>        /* readline */  #include <hush.h>  #include <command.h>        /* find_cmd */ +#ifndef CONFIG_SYS_PROMPT_HUSH_PS2 +#define CONFIG_SYS_PROMPT_HUSH_PS2	"> " +#endif  #endif  #ifndef __U_BOOT__  #include <ctype.h>     /* isalpha, isdigit */ |