diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2021-05-29 07:30:33 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-06-07 12:54:39 +0000 |
commit | bab9e2e6bdf3bbfa6047773a04632e0fbdf64afb (patch) | |
tree | ab42496f77d4bf76f3f9f79eea16ddc92d8a5cd6 /src/soc/example/min86 | |
parent | 11cac784ff788b4f0495758d7f5992e457ea552c (diff) |
arch/x86: Add a common romstage entry
It might be possible to have this used for more than x86, but that
will be for a later commit.
Change-Id: I4968364a95b5c69c21d3915d302d23e6f1ca182f
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55067
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Diffstat (limited to 'src/soc/example/min86')
-rw-r--r-- | src/soc/example/min86/romstage.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/soc/example/min86/romstage.c b/src/soc/example/min86/romstage.c index 91074b2012..f4c5584c30 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(); } |