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/mainboard/emulation/qemu-armv7/romstage.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/mainboard/emulation') diff --git a/src/mainboard/emulation/qemu-armv7/romstage.c b/src/mainboard/emulation/qemu-armv7/romstage.c index 8dbe1a59de..598ddde10c 100644 --- a/src/mainboard/emulation/qemu-armv7/romstage.c +++ b/src/mainboard/emulation/qemu-armv7/romstage.c @@ -3,12 +3,16 @@ #include #include #include +#include void main(void) { console_init(); + romstage_main(); +} +void __noreturn romstage_main(void) +{ cbmem_initialize_empty(); - run_ramstage(); } -- cgit v1.2.3