Patchwork [U-Boot,4/8,v4] integratorap: support the hush shell

login
register
mail settings
Submitter Linus Walleij
Date July 25, 2011, 11:50 a.m.
Message ID <1311594647-19731-1-git-send-email-linus.walleij@linaro.org>
Download mbox | patch
Permalink /patch/106645/
State Accepted
Delegated to: Albert ARIBAUD
Headers show

Comments

Linus Walleij - July 25, 2011, 11:50 a.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 1650c03..2754f67 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)