intel romstage: Use run_ramstage()

Change-Id: I22a33e6027a4e807f7157a0dfafbd6377bc1285d
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/15461
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Kyösti Mälkki
2016-06-27 11:27:56 +03:00
parent 7b3512dde3
commit 65e8f647bc
9 changed files with 18 additions and 18 deletions

View File

@@ -17,7 +17,6 @@
#include <stddef.h>
#include <arch/io.h>
#include <arch/cbfs.h>
#include <arch/stages.h>
#include <arch/early_variables.h>
#include <boardid.h>
#include <console/console.h>
@@ -29,6 +28,7 @@
#include <elog.h>
#include <fsp/romstage.h>
#include <reset.h>
#include <program_loading.h>
#include <romstage_handoff.h>
#include <smbios.h>
#include <soc/intel/common/mrc_cache.h>
@@ -187,7 +187,7 @@ void romstage_common(struct romstage_params *params)
void after_cache_as_ram_stage(void)
{
/* Load the ramstage. */
copy_and_run();
run_ramstage();
die("ERROR - Failed to load ramstage!");
}