arch/x86: Mark prepare_and_run_postcar noreturn

This moves the die() statement to a common place.

Change-Id: I24c9f00bfee169b4ca57b469c089188ec62ddada
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/65812
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-by: Julius Werner <jwerner@chromium.org>
This commit is contained in:
Arthur Heymans
2022-07-13 07:20:47 +02:00
committed by Felix Held
parent 84b2f9f5b8
commit efd2720e47
5 changed files with 3 additions and 5 deletions

View File

@@ -76,7 +76,6 @@ void __noreturn romstage_main(void)
prepare_and_run_postcar();
/* We do not return. */
die("failed to load postcar\n");
}
static void ap_romstage_main(void)