summaryrefslogtreecommitdiffstats
path: root/include/configs/MPC832XEMDS.h
diff options
context:
space:
mode:
authorTimur Tabi <timur@freescale.com>2012-03-17 17:44:00 -0500
committerKim Phillips <kim.phillips@freescale.com>2012-06-15 16:42:32 -0500
commit3b6b256c43c66b5524365892ae05c1567052ff11 (patch)
tree61ea035dad8ae4ba86152c3e3a84a032a504ec18 /include/configs/MPC832XEMDS.h
parentfedab338f3459315cb69627fcf46032ec8df1753 (diff)
downloadblackbird-obmc-uboot-3b6b256c43c66b5524365892ae05c1567052ff11.tar.gz
blackbird-obmc-uboot-3b6b256c43c66b5524365892ae05c1567052ff11.zip
powerpc/83xx: increment malloc heap size for the MPC832x MDS boards
The malloc buffer is not large enough to hold a flash sector (0x20000 bytes) in addition to whatever else it normally holds, so double its size. This fixes a failure trying to save the environment: => save Saving Environment to Flash... Unable to save the rest of sector (122880) . done Protected 1 sectors This problem probably surfaced from some other change that significantly increased the normal memory usage, thereby not leaving enough room for the saveenv command. Signed-off-by: Timur Tabi <timur@freescale.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Diffstat (limited to 'include/configs/MPC832XEMDS.h')
-rw-r--r--include/configs/MPC832XEMDS.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/MPC832XEMDS.h b/include/configs/MPC832XEMDS.h
index 4ed5a9769b..6f8622c0a5 100644
--- a/include/configs/MPC832XEMDS.h
+++ b/include/configs/MPC832XEMDS.h
@@ -181,7 +181,7 @@
/* CONFIG_SYS_MONITOR_LEN must be a multiple of CONFIG_ENV_SECT_SIZE */
#define CONFIG_SYS_MONITOR_LEN (384 * 1024) /* Reserve 384 kB for Mon */
-#define CONFIG_SYS_MALLOC_LEN (128 * 1024) /* Reserved for malloc */
+#define CONFIG_SYS_MALLOC_LEN (256 * 1024) /* Reserved for malloc */
/*
* Initial RAM Base Address Setup
OpenPOWER on IntegriCloud