]> git.sur5r.net Git - u-boot/commit
powerpc/83xx: increment malloc heap size for the MPC832x MDS boards
authorTimur Tabi <timur@freescale.com>
Sat, 17 Mar 2012 22:44:00 +0000 (17:44 -0500)
committerKim Phillips <kim.phillips@freescale.com>
Fri, 15 Jun 2012 21:42:32 +0000 (16:42 -0500)
commit3b6b256c43c66b5524365892ae05c1567052ff11
tree61ea035dad8ae4ba86152c3e3a84a032a504ec18
parentfedab338f3459315cb69627fcf46032ec8df1753
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>
include/configs/MPC832XEMDS.h