]> git.ipfire.org Git - people/ms/u-boot.git/commit
eNET: Fix saveenv crash
authorGraeme Russ <graeme.russ@gmail.com>
Wed, 13 Apr 2011 09:43:24 +0000 (19:43 +1000)
committerGraeme Russ <graeme.russ@gmail.com>
Wed, 13 Apr 2011 09:43:24 +0000 (19:43 +1000)
commitec8016c856af29de2f2ca6c3692929423673bf66
tree64034cbce6dc8d15006757534d4bf9f265353376
parentb16aadf411280fc426d7488ddd8a5b2038b7194d
eNET: Fix saveenv crash

CONFIG_ENV_SIZE = CONFIG_ENV_SECT_SIZE = 128kB but CONFIG_SYS_STACK_SIZE
is only 32kB resulting in saveenv causing a stack overflow and crashing
U-Boot. Resolve by reducing CONFIG_ENV_SIZE to 4kB

Also fix up CONFIG_SYS_MALLOC_LEN to correctly use environment sector
size and add some comments to the memory organisation configuration

Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
include/configs/eNET.h