summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2020-04-16 18:09:31 +0300
committerAndes <uboot@andestech.com>2020-04-23 05:14:06 +0300
commit6fa022e8fc7fd180c05934e71d4b9351b549f5b7 (patch)
tree980e7ea6f2b3a66fcea14df0f338f802a437bc91
parent191636e4489885d197e61ad34b48e8c76990735e (diff)
downloadu-boot-6fa022e8fc7fd180c05934e71d4b9351b549f5b7.tar.xz
riscv: Add SMP Kconfig option dependency for U-Boot proper
U-Boot proper running in S-mode only need SMP support when using SBI v0.1. With SBI v0.2 HSM extension, it does not need implement multicore boot in U-Boot proper. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Atish Patra <atish.patra@wdc.com>
-rw-r--r--arch/riscv/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index 5ef6849cce..a252cdbb71 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -193,6 +193,7 @@ config SYS_MALLOC_F_LEN
config SMP
bool "Symmetric Multi-Processing"
+ depends on SBI_V01 || !RISCV_SMODE
help
This enables support for systems with more than one CPU. If
you say N here, U-Boot will run on single and multiprocessor