aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv/lib/spl.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/lib/spl.c')
-rw-r--r--arch/riscv/lib/spl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/lib/spl.c b/arch/riscv/lib/spl.c
index ae07bbe40a..4ca038b148 100644
--- a/arch/riscv/lib/spl.c
+++ b/arch/riscv/lib/spl.c
@@ -41,7 +41,7 @@ void __noreturn jump_to_image_no_args(struct spl_image_info *spl_image)
invalidate_icache_all();
debug("image entry point: 0x%lX\n", spl_image->entry_point);
-#ifdef CONFIG_SMP
+#ifdef CONFIG_SPL_SMP
ret = smp_call_function(spl_image->entry_point, (ulong)fdt_blob, 0, 0);
if (ret)
hang();