summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2022-07-13 07:20:47 +0200
committerFelix Held <felix-coreboot@felixheld.de>2022-07-14 23:10:30 +0000
commitefd2720e4790924a434823d701664de8ee2eb9e4 (patch)
tree5103e33858ebfbdb00a5cf44bb4a285e3bf6f627 /src/drivers
parent84b2f9f5b8e40eb9a114c1be5741b4141c5566e0 (diff)
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>
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/amd/agesa/romstage.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/drivers/amd/agesa/romstage.c b/src/drivers/amd/agesa/romstage.c
index 82ef31ebd3..f60239abfe 100644
--- a/src/drivers/amd/agesa/romstage.c
+++ b/src/drivers/amd/agesa/romstage.c
@@ -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)