diff options
author | Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> | 2019-04-09 22:02:04 +0300 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2019-04-25 01:00:49 +0300 |
commit | 4399e48deb55a5786515e089fe9f0aa6e0ce5d6a (patch) | |
tree | 306c997d04a89fa24c62f7b2de95cd902401906d /configs/socfpga_stratix10_defconfig | |
parent | 798baf7ca35f81eab27dc49289745b19bde3cd39 (diff) | |
download | u-boot-4399e48deb55a5786515e089fe9f0aa6e0ce5d6a.tar.xz |
arm: socfpga: put initial U-Boot stack into DDR
If SPL post-reloc stage puts the stack into DDR, U-Boot should be able to
do that, too.
The reason to do so is that this way, U-Boot initial stack can be larger
than SPL initial stack. In situations where we want to save the SPL
in SRAM for next boot without reloading, this prevents overwriting the
SPL DTB in SRAM if U-Boot stack usage gets too high.
To achieve this, the malloc definition for a10 is moved up and sligthly
changed to ensure CONFIG_SYS_INIT_RAM_SIZE is the remaining available size.
Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Acked-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'configs/socfpga_stratix10_defconfig')
0 files changed, 0 insertions, 0 deletions