Re: [U-Boot] siemens,at91: enable features for smartweb

2016-02-18 Thread Andreas Bießmann
Dear "Egli, Samuel",

Samuel Egli  writes:
>From: Matthias Michel 
>
>New features for smartweb:
>* switch to hush command parser
>* change autoboot stop to 
>* allow to write ethaddr
>
>Signed-off-by: Matthias Michel 
>Reviewed-by: Samuel Egli 
>Cc: Roger Meier 
>Cc: Heiko Schocher 
>Reviewed-by: Heiko Schocher 
>Reviewed-by: Andreas Bießmann 
>---
> configs/smartweb_defconfig |  5 -
> include/configs/smartweb.h | 14 ++
> 2 files changed, 14 insertions(+), 5 deletions(-)

applied to u-boot-atmel/master, thanks!

Best regards,
Andreas Bießmann
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] siemens,at91: enable features for smartweb

2016-02-16 Thread Andreas Bießmann
On Wed, Jan 27, 2016 at 03:56:07PM +0100, Egli, Samuel wrote:
> From: Matthias Michel 
> 
> New features for smartweb:
> * switch to hush command parser
> * change autoboot stop to 
> * allow to write ethaddr
> 
> Signed-off-by: Matthias Michel 
> Reviewed-by: Samuel Egli 
> Cc: Roger Meier 
> Cc: Heiko Schocher 
> Reviewed-by: Heiko Schocher 

Reviewed-by: Andreas Bießmann 

> ---
>  configs/smartweb_defconfig |  5 -
>  include/configs/smartweb.h | 14 ++
>  2 files changed, 14 insertions(+), 5 deletions(-)
> 
> diff --git a/configs/smartweb_defconfig b/configs/smartweb_defconfig
> index ee4340f..654bb4b 100644
> --- a/configs/smartweb_defconfig
> +++ b/configs/smartweb_defconfig
> @@ -3,4 +3,7 @@ CONFIG_ARCH_AT91=y
>  CONFIG_TARGET_SMARTWEB=y
>  CONFIG_SPL=y
>  CONFIG_SYS_EXTRA_OPTIONS="AT91SAM9260"
> -CONFIG_SYS_PROMPT="U-Boot> "
> +CONFIG_SYS_PROMPT="U-Boot# "
> +CONFIG_AUTOBOOT_KEYED=y
> +CONFIG_AUTOBOOT_PROMPT="Autobooting in %d seconds, press \"\" to 
> stop\n"
> +CONFIG_AUTOBOOT_STOP_STR="\x1b\x1b"
> diff --git a/include/configs/smartweb.h b/include/configs/smartweb.h
> index 44d1d5a..de7b6bc 100644
> --- a/include/configs/smartweb.h
> +++ b/include/configs/smartweb.h
> @@ -49,10 +49,18 @@
>  #define CONFIG_BOARD_EARLY_INIT_F/* call board_early_init_f() */
>  #define CONFIG_DISPLAY_CPUINFO   /* display CPU Info at startup 
> */
>  
> +/* We set the max number of command args high to avoid HUSH bugs. */
> +#define CONFIG_SYS_MAXARGS32
> +
>  /* setting board specific options */
> -# define CONFIG_MACH_TYPEMACH_TYPE_SMARTWEB
> -#define CONFIG_CMDLINE_EDITING
> +#define CONFIG_MACH_TYPE MACH_TYPE_SMARTWEB
> +#define CONFIG_AUTO_COMPLETE
> +#define CONFIG_ENV_OVERWRITE1 /* Overwrite ethaddr / serial# */
> +#define CONFIG_SYS_HUSH_PARSER/* use "hush" command parser */
> +#define CONFIG_SYS_PROMPT_HUSH_PS2  "> "
>  #define CONFIG_AUTO_COMPLETE
> +#define CONFIG_SYS_AUTOLOAD "yes"
> +#define CONFIG_RESET_TO_RETRY
>  
>  /* The LED PINs */
>  #define CONFIG_RED_LED   AT91_PIN_PA9
> @@ -184,9 +192,7 @@
>  /* General Boot Parameter */
>  #define CONFIG_BOOTDELAY 3
>  #define CONFIG_BOOTCOMMAND   "run flashboot"
> -#define CONFIG_BOOT_RETRY_TIME  30
>  #define CONFIG_SYS_CBSIZE512
> -#define CONFIG_SYS_MAXARGS   16
>  #define CONFIG_SYS_PBSIZE \
>   (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16)
>  #define CONFIG_SYS_LONGHELP
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot