diff mbox series

[7/7] riscv: Make SBI v0.2 the default SBI version

Message ID 1586353273-12255-7-git-send-email-bmeng.cn@gmail.com
State Superseded
Headers show
Series [1/7] riscv: qemu: Remove the simple-bus driver for the SoC node | expand

Commit Message

Bin Meng April 8, 2020, 1:41 p.m. UTC
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 at gmail.com>

---

 arch/riscv/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Atish Patra April 11, 2020, 12:04 a.m. UTC | #1
On Wed, Apr 8, 2020 at 6:42 AM Bin Meng <bmeng.cn at gmail.com> wrote:
>
> To work with latest OpenSBI release (v0.7 or above) that has the HSM
> extension support, select the SBI v0.2 support by default.
>

Just for clarification: OpenSBI v0.7 will be available soon after
Linux kernel 5.-7-rc1 is available.

> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
>
> ---
>
>  arch/riscv/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
> index ae801d3..9bdaf2d 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"
> --
> 2.7.4
>

Reviewed-by: Atish Patra <atish.patra at wdc.com>
diff mbox series

Patch

diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index ae801d3..9bdaf2d 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"