nvidia/tegra210: Enable RETURN_FROM_VERSTAGE to free up space

All stages on this board are very close to the limit, so enable
RETURN_FROM_VERSTAGE so that we can overlap verstage and romstage to
use the available SRAM more effectively. (Coincidentally, this also
reduces verstage size quite a bit... maybe we should consider just
making this the default at some point, there are really no downsides.)

Change-Id: I2b91fd13d147f964bcbd7b2850f8a0931ea060df
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36800
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
Julius Werner 2019-11-12 15:43:12 -08:00 committed by Patrick Georgi
parent 87074f9042
commit a2d123ea98
2 changed files with 3 additions and 3 deletions

View File

@ -16,6 +16,7 @@ if SOC_NVIDIA_TEGRA210
config VBOOT
select VBOOT_STARTS_IN_BOOTBLOCK
select VBOOT_SEPARATE_VERSTAGE
select VBOOT_RETURN_FROM_VERSTAGE
select VBOOT_MUST_REQUEST_DISPLAY
config MAINBOARD_DO_DSI_INIT

View File

@ -38,9 +38,8 @@ SECTIONS
STACK(0x4000C400, 3K)
#endif
TIMESTAMP(0x4000D000, 2K)
BOOTBLOCK(0x4000D800, 30K)
VERSTAGE(0x40015000, 68k)
ROMSTAGE(0x40026000, 104K)
BOOTBLOCK(0x4000D800, 42K)
OVERLAP_VERSTAGE_ROMSTAGE(0x40018000, 160K)
SRAM_END(0x40040000)
DRAM_START(0x80000000)