diff options
author | Tom Rini <trini@ti.com> | 2012-06-20 02:54:35 +0400 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2012-06-20 22:36:51 +0400 |
commit | 219f4788d33b04e394d4ade1feaedc0292acc790 (patch) | |
tree | f3829771b07673cb0571fc9a02aba66689d8249b /common | |
parent | 26750c8aee2383a026e0cf89e9310628d3a5a6a0 (diff) | |
download | u-boot-219f4788d33b04e394d4ade1feaedc0292acc790.tar.xz |
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')
-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 672ab9e157..1eff182efa 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 */ |