[U-Boot] [PATCH 5/8] arm/pxa: decrease environment size and stack size for vpac270 (v.2)

Mikhail Kshevetskiy mikhail.kshevetskiy at gmail.com
Thu Aug 26 21:24:20 CEST 2010


it looks like 4Kb for environment and 64Kb for stack is sufficient

v2: rebased against for-wd-master branch

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 c81d567..bd1b0f6 100644
--- a/include/configs/vpac270.h
+++ b/include/configs/vpac270.h
@@ -155,7 +155,7 @@
 /*
  * Stack sizes
  */
-#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 */
@@ -237,7 +237,7 @@
 #define	CONFIG_SYS_MONITOR_LEN		0x40000
 
 #define	CONFIG_ENV_ADDR			(CONFIG_SYS_MONITOR_BASE + CONFIG_SYS_MONITOR_LEN)
-#define	CONFIG_ENV_SIZE			0x4000
+#define	CONFIG_ENV_SIZE			(4 * 1024)
 
 /*
  * IDE
-- 
1.7.1



More information about the U-Boot mailing list