summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2022-02-15 11:06:10 +0100
committerArthur Heymans <arthur@aheymans.xyz>2022-05-16 07:05:59 +0000
commit876a1b48f87d0fe6d86ce22fb74b5c705bed6bcd (patch)
tree86c2410d21f5c0abacd5b1603c9e62f4165424b0 /src/drivers
parentba00d10c41d1df1ca8a5eadc95a40430fbd059c5 (diff)
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 <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/61964 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/amd/agesa/romstage.c3
1 files changed, 1 insertions, 2 deletions
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. */
}