[U-Boot] [PATCH] configs: EB+MCF-EV123.h: Fix typo on CONFIG_SYS_HUSH_PARSER

Anatolij Gustschin agust at denx.de
Tue Mar 27 11:23:16 CEST 2012


Hello Fabio,

On Mon, 26 Mar 2012 19:23:32 -0300
Fabio Estevam <festevam at gmail.com> wrote:

> Fix typo on CONFIG_SYS_HUSH_PARSER.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
> ---
>  include/configs/EB+MCF-EV123.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/include/configs/EB+MCF-EV123.h b/include/configs/EB+MCF-EV123.h
> index 1f774a9..7f2bd01 100644
> --- a/include/configs/EB+MCF-EV123.h
> +++ b/include/configs/EB+MCF-EV123.h
> @@ -90,7 +90,7 @@
>  
>  
>  #define CONFIG_BOOTDELAY	5
> -#define CONFIG_HUSH_PARSER
> +#define CONFIG_SYS_HUSH_PARSER
>  #define CONFIG_SYS_PROMPT	"\nEV123 U-Boot> "
>  #define	CONFIG_SYS_LONGHELP	1

This patch will break compiling since CONFIG_SYS_PROMPT_HUSH_PS2 is
not defined.

We should probably define default CONFIG_SYS_PROMPT_HUSH_PS2 in
common/hush.c and let the board config files to override it if
they want a different secondary prompt.

Thanks,
Anatolij


More information about the U-Boot mailing list