From: Bin Meng <bmeng.cn@gmail.com>
Date: Thu, 16 Apr 2020 15:09:33 +0000 (-0700)
Subject: riscv: Make SBI v0.2 the default SBI version
X-Git-Tag: v2025.01-rc5-pxa1908~2464^2~6
X-Git-Url: http://git.dujemihanovic.xyz/%22http:/www.sics.se/static/%7B%7B%20%24.Site.BaseURL%20%7D%7Dposts/%7B%7B%20%24style.Permalink%20%7D%7D?a=commitdiff_plain;h=fa16ec23bcc8c855106f055d6e552e4cc203a87d;p=u-boot.git

riscv: Make SBI v0.2 the default SBI version

To work with latest OpenSBI release (v0.7 or above) that has the HSM
extension support, select the SBI v0.2 support by default.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
---

diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index c729871813..fb5fe5afff 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -228,7 +228,7 @@ config SBI
 
 choice
 	prompt "SBI support"
-	default SBI_V01
+	default SBI_V02
 
 config SBI_V01
 	bool "SBI v0.1 support"