aboutsummaryrefslogtreecommitdiff
path: root/src/arch/riscv/stages.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/riscv/stages.c')
-rw-r--r--src/arch/riscv/stages.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/arch/riscv/stages.c b/src/arch/riscv/stages.c
index 80754762bd..4fe040934e 100644
--- a/src/arch/riscv/stages.c
+++ b/src/arch/riscv/stages.c
@@ -27,10 +27,13 @@
#include <arch/boot.h>
#include <arch/encoding.h>
#include <arch/stages.h>
+#include <arch/smp/smp.h>
#include <rules.h>
void stage_entry(void)
{
+ smp_pause(CONFIG_RISCV_WORKING_HARTID);
+
/*
* Save the FDT pointer before entering ramstage, because mscratch
* might be overwritten in the trap handler, and there is code in