summaryrefslogtreecommitdiffstats
path: root/common/hush.c
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2012-06-19 15:54:35 -0700
committerWolfgang Denk <wd@denx.de>2012-06-20 20:36:51 +0200
commit219f4788d33b04e394d4ade1feaedc0292acc790 (patch)
treef3829771b07673cb0571fc9a02aba66689d8249b /common/hush.c
parent26750c8aee2383a026e0cf89e9310628d3a5a6a0 (diff)
downloadblackbird-obmc-uboot-219f4788d33b04e394d4ade1feaedc0292acc790.tar.gz
blackbird-obmc-uboot-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.c3
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 */
OpenPOWER on IntegriCloud