[U-Boot] [PATCH 07/11] arm/pxa: decrease environment size and stack size for vpac270

Marek Vasut marek.vasut at gmail.com
Thu Aug 26 13:45:41 CEST 2010


Dne Čt 26. srpna 2010 12:48:02 Mikhail Kshevetskiy napsal(a):
> it looks like 4Kb for environment and 64Kb for stack is sufficient

Wolfgang, what's your opinion?

Thanks
> 
> Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy at gmail.com>
> ---
>  include/configs/vpac270.h |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/include/configs/vpac270.h b/include/configs/vpac270.h
> index c8663e8..98faf9a 100644
> --- a/include/configs/vpac270.h
> +++ b/include/configs/vpac270.h
> @@ -36,7 +36,7 @@
>  /*
>   * Environment settings
>   */
> -#define	CONFIG_ENV_SIZE			0x4000
> +#define	CONFIG_ENV_SIZE			(4 * 1024)
>  #define	CONFIG_SYS_MALLOC_LEN		(CONFIG_ENV_SIZE + 128*1024)
>  #define	CONFIG_SYS_GBL_DATA_SIZE	128
> 
> @@ -157,7 +157,7 @@
>   *
>   * The stack sizes are set up in start.S using the settings below
>   */
> -#define	CONFIG_STACKSIZE		(128*1024)	/* regular stack 
*/
> +#define	CONFIG_STACKSIZE		(64*1024)	/* regular stack 
*/
>  #ifdef	CONFIG_USE_IRQ
>  #define	CONFIG_STACKSIZE_IRQ		(4*1024)	/* IRQ stack */
>  #define	CONFIG_STACKSIZE_FIQ		(4*1024)	/* FIQ stack */


More information about the U-Boot mailing list