Patchwork [U-Boot,4/9,v3] integratorap: support the hush shell

login
register
mail settings
Submitter Linus Walleij
Date July 23, 2011, 1:38 p.m.
Message ID <1311428284-14837-1-git-send-email-linus.walleij@linaro.org>
Download mbox | patch
Permalink /patch/106465/
State Superseded
Delegated to: Albert ARIBAUD
Headers show

Comments

Linus Walleij - July 23, 2011, 1:38 p.m.
Give us some kind of sane shell environment so the bootloader can
be used.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 include/configs/integratorap.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Patch

diff --git a/include/configs/integratorap.h b/include/configs/integratorap.h
index 8b41885..ea6af78 100644
--- a/include/configs/integratorap.h
+++ b/include/configs/integratorap.h
@@ -94,7 +94,9 @@ 
  * Miscellaneous configurable options
  */
 #define CONFIG_SYS_LONGHELP	/* undef to save memory	    */
+#define CONFIG_SYS_HUSH_PARSER
 #define CONFIG_SYS_PROMPT	"Integrator-AP # "	/* Monitor Command Prompt   */
+#define CONFIG_SYS_PROMPT_HUSH_PS2	"# "
 #define CONFIG_SYS_CBSIZE	256		/* Console I/O Buffer Size  */
 /* Print Buffer Size */
 #define CONFIG_SYS_PBSIZE	(CONFIG_SYS_CBSIZE+sizeof(CONFIG_SYS_PROMPT)+16)