Patchwork [U-Boot,1/8] m28evk: use same notation to alloc the 128kB stack

login
register
mail settings
Submitter Otavio Salvador
Date May 12, 2012, 11:40 p.m.
Message ID <1336866018-614-2-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/158792/
State Awaiting Upstream
Delegated to: Stefano Babic
Headers show

Comments

Otavio Salvador - May 12, 2012, 11:40 p.m.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 include/configs/m28evk.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Wolfgang Denk - May 29, 2012, 8:44 p.m.
Dear Otavio Salvador,

In message <1336866018-614-2-git-send-email-otavio@ossystems.com.br> you wrote:
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> ---
>  include/configs/m28evk.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Acked-by: Wolfgang Denk <wd@denx.de>

Best regards,

Wolfgang Denk
Stefano Babic - June 13, 2012, 9:06 a.m.
On 13/05/2012 01:40, Otavio Salvador wrote:
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> ---

Applied to u-boot-imx, thanks.

Best regards,
Stefano Babic

Patch

diff --git a/include/configs/m28evk.h b/include/configs/m28evk.h
index c62f4d0..7472ddc 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 */