From 65e8f647bc55ee28bd389789788e666279537510 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Mon, 27 Jun 2016 11:27:56 +0300 Subject: intel romstage: Use run_ramstage() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I22a33e6027a4e807f7157a0dfafbd6377bc1285d Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/15461 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/soc/intel/baytrail/romstage/romstage.c | 4 ++-- src/soc/intel/broadwell/romstage/romstage.c | 4 ++-- src/soc/intel/fsp_baytrail/romstage/romstage.c | 4 ++-- src/soc/intel/fsp_broadwell_de/romstage/romstage.c | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'src/soc/intel') diff --git a/src/soc/intel/baytrail/romstage/romstage.c b/src/soc/intel/baytrail/romstage/romstage.c index d3eea26604..a167c90530 100644 --- a/src/soc/intel/baytrail/romstage/romstage.c +++ b/src/soc/intel/baytrail/romstage/romstage.c @@ -16,7 +16,6 @@ #include #include #include -#include #include #include #include @@ -26,6 +25,7 @@ #include #endif #include +#include #include #include #include @@ -247,7 +247,7 @@ void romstage_common(struct romstage_params *params) void asmlinkage romstage_after_car(void) { /* Load the ramstage. */ - copy_and_run(); + run_ramstage(); while (1); } diff --git a/src/soc/intel/broadwell/romstage/romstage.c b/src/soc/intel/broadwell/romstage/romstage.c index 762758dd37..c6ffe7ad68 100644 --- a/src/soc/intel/broadwell/romstage/romstage.c +++ b/src/soc/intel/broadwell/romstage/romstage.c @@ -18,7 +18,6 @@ #include #include #include -#include #include #include #include @@ -26,6 +25,7 @@ #include #include #include +#include #include #include #include @@ -129,7 +129,7 @@ void romstage_common(struct romstage_params *params) void asmlinkage romstage_after_car(void) { /* Load the ramstage. */ - copy_and_run(); + run_ramstage(); while (1); } diff --git a/src/soc/intel/fsp_baytrail/romstage/romstage.c b/src/soc/intel/fsp_baytrail/romstage/romstage.c index 385b3e4555..4de98d313a 100644 --- a/src/soc/intel/fsp_baytrail/romstage/romstage.c +++ b/src/soc/intel/fsp_baytrail/romstage/romstage.c @@ -19,11 +19,11 @@ #include #include #include -#include #include #include #include #include +#include #include #include #include @@ -267,7 +267,7 @@ void romstage_main_continue(EFI_STATUS status, void *hob_list_ptr) post_code(0x4f); /* Load the ramstage. */ - copy_and_run(); + run_ramstage(); while (1); } diff --git a/src/soc/intel/fsp_broadwell_de/romstage/romstage.c b/src/soc/intel/fsp_broadwell_de/romstage/romstage.c index dc883a4308..91c2532af0 100644 --- a/src/soc/intel/fsp_broadwell_de/romstage/romstage.c +++ b/src/soc/intel/fsp_broadwell_de/romstage/romstage.c @@ -19,9 +19,9 @@ #include #include #include -#include #include #include +#include #include #include #include @@ -110,7 +110,7 @@ void romstage_main_continue(EFI_STATUS status, void *hob_list_ptr) /* Load the ramstage. */ post_code(0x4e); - copy_and_run(); + run_ramstage(); while (1); } -- cgit v1.2.3