]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ti_armv7_common.h: Adjust malloc pool size in all cases.
authorTom Rini <trini@konsulko.com>
Mon, 19 Sep 2016 17:05:34 +0000 (13:05 -0400)
committerTom Rini <trini@konsulko.com>
Tue, 27 Sep 2016 14:46:17 +0000 (10:46 -0400)
commit5e61b0df41bbd084e2f59aa3857a5063822cae5a
treea52305013ae41fe2d0cf9162290e5f91886d6ea3
parentcbe7706ab8aab06c18edaa9b120371f9c8012728
ti_armv7_common.h: Adjust malloc pool size in all cases.

Previously we had been adjusting CONFIG_SYS_MALLOC_LEN based on if
CONFIG_DFU_MMC has been set or not.  However, for quite some time this
has not been the case as we often include <configs/ti_armv7_common.h>
prior to setting CONFIG_DFU_MMC so we would always use 16MiB and then
not have enough room for to DFU files.  Given the amount of memory we
always have, setting a minimum size of 32MiB for malloc is reasonable.
However, in the SPL case not only do we not need that much we start
running into overlap problems and then will fail to boot.  Since we
don't need 16MiB in the SPL case, bring this down to 8MiB.

Signed-off-by: Tom Rini <trini@konsulko.com>
include/configs/ti_armv7_common.h