[U-Boot] [PATCH 1/3] m28evk: use same notation to alloc the 128kB stack

Marek Vasut marex at denx.de
Tue May 15 23:14:52 CEST 2012


Dear Otavio Salvador,

> Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
> Cc: Marek Vasut <marex at denx.de>
> Cc: Stefano Babic <sbabic at denx.de>
> Cc: Wolfgang Denk <wd at denx.de>

Is this really necessary? I think it's a matter of personal taste, isn't it?

> ---
>  include/configs/m28evk.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/configs/m28evk.h b/include/configs/m28evk.h
> index 68e46b7..a076aa5 100644
> --- a/include/configs/m28evk.h
> +++ b/include/configs/m28evk.h
> @@ -88,7 +88,7 @@
>  #define	CONFIG_NR_DRAM_BANKS		1		/* 1 bank of 
DRAM */
>  #define	PHYS_SDRAM_1			0x40000000	/* Base address 
*/
>  #define	PHYS_SDRAM_1_SIZE		0x20000000	/* Max 512 MB 
RAM */
> -#define	CONFIG_STACKSIZE		0x00010000	/* 128 KB stack 
*/
> +#define	CONFIG_STACKSIZE		(128 * 1024)	/* 128 KB stack 
*/
>  #define	CONFIG_SYS_MALLOC_LEN		0x00400000	/* 4 MB for 
malloc */
>  #define	CONFIG_SYS_GBL_DATA_SIZE	128		/* Initial data 
*/
>  #define	CONFIG_SYS_MEMTEST_START	0x40000000	/* Memtest start 
adr */

Best regards,
Marek Vasut


More information about the U-Boot mailing list