From df7ff31c5985d9c8e37c9f780c02c61e652181c0 Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Fri, 25 Nov 2016 12:02:00 +0200 Subject: AGESA: Move romstage main entry under cpu MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As we now apply asmlinkage attributes to romstage_main() entry, also x86_64 passes parameters on the stack. Change-Id: If9938dbbe9a164c9c1029431499b51ffccb459c1 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/18624 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/include/cpu/amd/car.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/include') diff --git a/src/include/cpu/amd/car.h b/src/include/cpu/amd/car.h index 7fd83f14ef..11fb8ae07b 100644 --- a/src/include/cpu/amd/car.h +++ b/src/include/cpu/amd/car.h @@ -18,4 +18,6 @@ void disable_cache_as_ram(void); void asmlinkage early_all_cores(void); +void * asmlinkage romstage_main(unsigned long bist); + #endif -- cgit v1.2.3