coreboot-kgpe-d16/src/soc
Arthur Heymans d05f57cfcb arch/arm64: Pass cbmem_top to ramstage via calling argument
This solution is very generic and can in principle be implemented on
all arch/soc. Currently the old infrastructure to pass on information
from romstage to ramstage is left in place and will be removed in a
follow-up commit.

Nvidia Tegra will be handled in a separate patch because it has a
custom ramstage entry.

Instead trying to figure out which files can be removed from stages
and which cbmem_top implementations need with preprocessor, rename all
cbmem_top implementation to cbmem_top_romstage.

Mechanisms set in place to pass on information from rom- to ram-stage
will be replaced in a followup commit.

Change-Id: I86cdc5c2fac76797732a3a3398f50c4d1ff6647a
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36275
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
2019-11-03 11:19:24 +00:00
..
amd cpu/x86/tsc: Flip and rename TSC_CONSTANT_RATE to UNKNOWN_TSC_RATE 2019-11-03 06:15:35 +00:00
cavium arch/arm64: Pass cbmem_top to ramstage via calling argument 2019-11-03 11:19:24 +00:00
imgtec lib/cbmem_top: Add a common cbmem_top implementation 2019-11-01 11:44:51 +00:00
intel arch/x86: Use the stage argument to implement cbmem_top 2019-11-03 11:18:31 +00:00
mediatek arch/arm64: Pass cbmem_top to ramstage via calling argument 2019-11-03 11:19:24 +00:00
nvidia arch/arm: Pass cbmem_top to ramstage via calling argument 2019-11-03 11:19:04 +00:00
qualcomm arch/arm64: Pass cbmem_top to ramstage via calling argument 2019-11-03 11:19:24 +00:00
rockchip arch/arm64: Pass cbmem_top to ramstage via calling argument 2019-11-03 11:19:24 +00:00
samsung arch/arm: Pass cbmem_top to ramstage via calling argument 2019-11-03 11:19:04 +00:00
sifive lib/cbmem_top: Add a common cbmem_top implementation 2019-11-01 11:44:51 +00:00
ucb lib/cbmem_top: Add a common cbmem_top implementation 2019-11-01 11:44:51 +00:00