soc/nvidia/tegra210: Populate _cbmem_top_ptr

On this platform the ramstage is run on a different core so passing
cbmem_top via calling arguments is not an option. To work around this
populate _cbmem_top_ptr with cbmem_top_chipset which is also used in
romstage.

Change-Id: I8799c12705e944162c05fb7225ae21d32a2a882b
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36557
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Arthur Heymans
2019-11-01 21:42:33 +01:00
committed by Patrick Georgi
parent a09d33ec88
commit 879c9fc421
2 changed files with 7 additions and 1 deletions

View File

@@ -17,7 +17,7 @@ config ARCH_ROMSTAGE_ARM64
config ARCH_RAMSTAGE_ARM64
bool
select ARCH_ARM64
select RAMSTAGE_CBMEM_TOP_ARG if !SOC_NVIDIA_TEGRA210
select RAMSTAGE_CBMEM_TOP_ARG
source src/arch/arm64/armv8/Kconfig