summaryrefslogtreecommitdiffstats
path: root/src/soc/example
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/example')
-rw-r--r--src/soc/example/min86/romstage.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/soc/example/min86/romstage.c b/src/soc/example/min86/romstage.c
index 91074b201251..f4c5584c30cc 100644
--- a/src/soc/example/min86/romstage.c
+++ b/src/soc/example/min86/romstage.c
@@ -1,7 +1,10 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <arch/cpu.h>
+#include <romstage_common.h>
+#include <halt.h>
-asmlinkage void car_stage_entry(void)
+void __noreturn romstage_main(void)
{
+ /* Needed for __noreturn */
+ halt();
}