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/cpu/intel/car/romstage.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/cpu/intel') diff --git a/src/cpu/intel/car/romstage.c b/src/cpu/intel/car/romstage.c index 85bc894afa..a307893c11 100644 --- a/src/cpu/intel/car/romstage.c +++ b/src/cpu/intel/car/romstage.c @@ -14,8 +14,6 @@ following as a guideline for acceptable stack usage. */ #define DCACHE_RAM_ROMSTAGE_STACK_SIZE 0x2000 -static struct postcar_frame early_mtrrs; - static void romstage_main(void) { int i; @@ -54,7 +52,7 @@ static void romstage_main(void) if (CONFIG(SMM_TSEG)) smm_list_regions(); - prepare_and_run_postcar(&early_mtrrs); + prepare_and_run_postcar(); /* We do not return here. */ } -- cgit v1.2.3