From e325b223a2c48d35dedce1c20d055c23b0ea4bea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Fri, 17 Jun 2016 11:04:37 +0300 Subject: intel: Fix romstage main() with asmlinkage MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Backport from haswell. Change-Id: I585639f8af47bd1d8c606789ca026c6d2d0cc785 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/15225 Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel --- src/include/cpu/intel/romstage.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/include/cpu') diff --git a/src/include/cpu/intel/romstage.h b/src/include/cpu/intel/romstage.h index 0ebb91266b..c294c2edc0 100644 --- a/src/include/cpu/intel/romstage.h +++ b/src/include/cpu/intel/romstage.h @@ -1,7 +1,12 @@ #ifndef _CPU_INTEL_ROMSTAGE_H #define _CPU_INTEL_ROMSTAGE_H +#include + /* std signature of entry-point to romstage.c */ void main(unsigned long bist); +void mainboard_romstage_entry(unsigned long bist); +void * asmlinkage romstage_main(unsigned long bist); + #endif /* _CPU_INTEL_ROMSTAGE_H */ -- cgit v1.2.3