diff options
author | Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> | 2019-04-09 21:02:06 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2019-04-25 00:00:49 +0200 |
commit | 9dc61aac2ddc05b7118599c12c2a390d642189af (patch) | |
tree | ccefe89314acbc2b9a0e1d7a450eeb1cb83b584c /configs/ls1088aqds_sdcard_ifc_defconfig | |
parent | aef44283ac8e4d150f9faa87e16d9b962fc7ef5d (diff) |
arm: socfpga: gen5: reduce SPL pre-reloc malloc
By enabling debug prints in malloc_simple, we can see that SPL for socfpga
gen5 does by far not need the 8 KiB malloc pool currently allocated for
SPL in pre-reloc phase.
On socfpga_socrates, 1304 bytes are currently used (and this increases by
~200 bytes only for the sdram/reset fixes in socfpga-next).
To prevent wasting precious SRAM space, let's reduce the initial heap used
for SPL to 2 KiB. This is still some hundred bytes more than currently
used. Also, the gen5 SPL enables stack and heap in DDR memory pretty
early. Only the initial uclass/dm parsing, serial console and DDR
initialization is done in the initial heap, so these 2 KiB should be
enough for all boards.
Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Acked-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'configs/ls1088aqds_sdcard_ifc_defconfig')
0 files changed, 0 insertions, 0 deletions