summaryrefslogtreecommitdiffstats
path: root/src/arch/x86/cbfs_and_run.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/cbfs_and_run.c')
-rw-r--r--src/arch/x86/cbfs_and_run.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/x86/cbfs_and_run.c b/src/arch/x86/cbfs_and_run.c
index f25052b1edb3..cd36dbbea9b6 100644
--- a/src/arch/x86/cbfs_and_run.c
+++ b/src/arch/x86/cbfs_and_run.c
@@ -18,5 +18,7 @@
asmlinkage void copy_and_run(void)
{
+ if (IS_ENABLED(CONFIG_RAMPAYLOAD))
+ run_ramprog();
run_ramstage();
}