summaryrefslogtreecommitdiff
path: root/arch/riscv/lib/spl.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-04-23 08:24:47 -0400
committerTom Rini <trini@konsulko.com>2020-04-23 08:24:47 -0400
commita5f9b8a8b592400a01771ad2dac76cba69c914f3 (patch)
tree23e1c8542fd35083260a97efb0d92b3485889aa1 /arch/riscv/lib/spl.c
parentcaad316b3165615f1a4848901811a4a084444c9d (diff)
parent177c53fe6c64d8656f5a647116a97047202c5455 (diff)
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv
- Adds few DT related fixes required for Linux EFI stub to work on RISC-V. - Makes SBI v0.2 the default SBI version to work with OpenSBI v0.7. - Revert "riscv: qemu: clear kernel-start/-end in device tree as workaround for BBL" - Remove unnecessary CONFIG_IS_ENABLED().
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 ae07bbe40a7..4ca038b148e 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();