From 3e914d372661ba68ca92d476708bd68af2593b10 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Wed, 6 Apr 2022 22:25:50 +0200 Subject: arch/arm64,arm: Prepare for !SEPARATE_ROMSTAGE Prepare platforms for linking romstage code in the bootblock. Change-Id: Ic20799b4d6e3f62cd05791a2bd275000a12cc83c Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/63420 Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner --- src/soc/nvidia/tegra210/romstage.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/soc') diff --git a/src/soc/nvidia/tegra210/romstage.c b/src/soc/nvidia/tegra210/romstage.c index 12cf297d1c..801e96336b 100644 --- a/src/soc/nvidia/tegra210/romstage.c +++ b/src/soc/nvidia/tegra210/romstage.c @@ -6,13 +6,14 @@ #include #include #include +#include #include #include #include +#include +#include #include #include -#include -#include #include #include @@ -26,6 +27,11 @@ void romstage(void) console_init(); exception_init(); + romstage_main(); +} + +void __noreturn romstage_main(void) +{ printk(BIOS_INFO, "T210: romstage here\n"); #if CONFIG(BOOTROM_SDRAM_INIT) -- cgit v1.2.3