From 876a1b48f87d0fe6d86ce22fb74b5c705bed6bcd Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Tue, 15 Feb 2022 11:06:10 +0100 Subject: arch/x86/postcar_loader.c: Change prepare_and_run_postcar signature The postcar frame can now be a local variable to that function. Change-Id: I873298970fff76b9ee1cae7da156613eb557ffbc Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/61964 Tested-by: build bot (Jenkins) Reviewed-by: Raul Rangel --- src/drivers/amd/agesa/romstage.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/drivers') diff --git a/src/drivers/amd/agesa/romstage.c b/src/drivers/amd/agesa/romstage.c index 9abcdd6110..35b2778e68 100644 --- a/src/drivers/amd/agesa/romstage.c +++ b/src/drivers/amd/agesa/romstage.c @@ -33,7 +33,6 @@ static void ap_romstage_main(void); static void romstage_main(void) { - struct postcar_frame pcf; struct sysinfo romstage_state; struct sysinfo *cb = &romstage_state; int cbmem_initted = 0; @@ -78,7 +77,7 @@ static void romstage_main(void) romstage_handoff_init(cb->s3resume); - prepare_and_run_postcar(&pcf); + prepare_and_run_postcar(); /* We do not return. */ } -- cgit v1.2.3