Skip to content

Commit f9d89c9

Browse files
Kefeng Wangpalmer-dabbelt
authored andcommitted
tty: riscv: Using RISCV_SBI_V01 instead of RISCV_SBI
As shown in SBI v0.2, the legacy console SBI functions (sbi_console_getchar() and sbi_console_putchar()) are expected to be deprecated; they have no replacement. Let's HVC_RISCV_SBI and SERIAL_EARLYCON_RISCV_SBI depends on RISCV_SBI_V01. Fixes: efca139 ("RISC-V: Introduce a new config for SBI v0.1") Signed-off-by: Kefeng Wang <[email protected]> Reviewed-by: Anup Patel <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent 72df61d commit f9d89c9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

drivers/tty/hvc/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ config HVC_DCC
8888

8989
config HVC_RISCV_SBI
9090
bool "RISC-V SBI console support"
91-
depends on RISCV_SBI
91+
depends on RISCV_SBI_V01
9292
select HVC_DRIVER
9393
help
9494
This enables support for console output via RISC-V SBI calls, which

drivers/tty/serial/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ config SERIAL_EARLYCON_ARM_SEMIHOST
8686

8787
config SERIAL_EARLYCON_RISCV_SBI
8888
bool "Early console using RISC-V SBI"
89-
depends on RISCV_SBI
89+
depends on RISCV_SBI_V01
9090
select SERIAL_CORE
9191
select SERIAL_CORE_CONSOLE
9292
select SERIAL_EARLYCON

0 commit comments

Comments
 (0)