diff options
author | Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> | 2019-04-09 21:02:04 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2019-04-25 00:00:49 +0200 |
commit | 4399e48deb55a5786515e089fe9f0aa6e0ce5d6a (patch) | |
tree | 306c997d04a89fa24c62f7b2de95cd902401906d /arch/arm/mach-keystone/cmd_clock.c | |
parent | 798baf7ca35f81eab27dc49289745b19bde3cd39 (diff) |
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 'arch/arm/mach-keystone/cmd_clock.c')
0 files changed, 0 insertions, 0 deletions