Patchwork [U-Boot,V2] edminiv2: add hush parser, cmdline editing and long help

login
register
mail settings
Submitter Albert ARIBAUD
Date Jan. 16, 2012, 8:11 p.m.
Message ID <1326744710-11040-1-git-send-email-albert.u.boot@aribaud.net>
Download mbox | patch
Permalink /patch/136368/
State Accepted
Commit a203a7c86cf0a268e8ae18489ff812d85fcddb9e
Headers show

Comments

Albert ARIBAUD - Jan. 16, 2012, 8:11 p.m.
Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
---
Patch history:
 V2: include cmdline editing, forgotten in V1

 include/configs/edminiv2.h |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
Prafulla Wadaskar - Feb. 8, 2012, 9:51 a.m.
> -----Original Message-----
> From: u-boot-bounces@lists.denx.de [mailto:u-boot-
> bounces@lists.denx.de] On Behalf Of Albert ARIBAUD
> Sent: 17 January 2012 01:42
> To: u-boot@lists.denx.de
> Subject: [U-Boot] [PATCH V2] edminiv2: add hush parser, cmdline
> editing and long help
> 
> 
> Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
> ---
> Patch history:
>  V2: include cmdline editing, forgotten in V1
> 
>  include/configs/edminiv2.h |   10 ++++++++++
>  1 files changed, 10 insertions(+), 0 deletions(-)
> 
> diff --git a/include/configs/edminiv2.h b/include/configs/edminiv2.h
> index 88d32b2..988d045 100644
> --- a/include/configs/edminiv2.h
> +++ b/include/configs/edminiv2.h
> @@ -221,6 +221,16 @@
>  #define CONFIG_SYS_RESET_ADDRESS	0xffff0000
>  #define CONFIG_SYS_MAXARGS		16
> 
> +/* Use the HUSH parser */
> +#define CONFIG_SYS_HUSH_PARSER
> +#define CONFIG_SYS_PROMPT_HUSH_PS2	"> "
> +
> +/* Enable command line editing */
> +#define CONFIG_CMDLINE_EDITING
> +
> +/* provide extensive help */
> +#define CONFIG_SYS_LONGHELP
> +
>  /* additions for new relocation code, must be added to all boards */
>  #define CONFIG_SYS_SDRAM_BASE		0
>  #define CONFIG_SYS_INIT_SP_ADDR	\
> --

Applied to u-boot-marvell.git master branch

Regards..
Prafulla . . .
Albert ARIBAUD - Feb. 10, 2012, 7:46 p.m.
Le 08/02/2012 10:51, Prafulla Wadaskar a écrit :

> Applied to u-boot-marvell.git master branch

Thanks!

> Regards..
> Prafulla . . .

Amicalement,

Patch

diff --git a/include/configs/edminiv2.h b/include/configs/edminiv2.h
index 88d32b2..988d045 100644
--- a/include/configs/edminiv2.h
+++ b/include/configs/edminiv2.h
@@ -221,6 +221,16 @@ 
 #define CONFIG_SYS_RESET_ADDRESS	0xffff0000
 #define CONFIG_SYS_MAXARGS		16
 
+/* Use the HUSH parser */
+#define CONFIG_SYS_HUSH_PARSER
+#define CONFIG_SYS_PROMPT_HUSH_PS2	"> "
+
+/* Enable command line editing */
+#define CONFIG_CMDLINE_EDITING
+
+/* provide extensive help */
+#define CONFIG_SYS_LONGHELP
+
 /* additions for new relocation code, must be added to all boards */
 #define CONFIG_SYS_SDRAM_BASE		0
 #define CONFIG_SYS_INIT_SP_ADDR	\