tty: riscv: Using RISCV_SBI_V01 instead of RISCV_SBI
authorKefeng Wang <wangkefeng.wang@huawei.com>
Fri, 17 Apr 2020 12:12:21 +0000 (20:12 +0800)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Tue, 21 Apr 2020 23:15:04 +0000 (16:15 -0700)
commitf9d89c944a046bd18795875b5775e11a1e124076
tree18208c5d65291b9305aba79db07d88236438b78d
parent72df61d9d66e5bbe7e2c8b5accc240f66276147f
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: efca13989250 ("RISC-V: Introduce a new config for SBI v0.1")
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
drivers/tty/hvc/Kconfig
drivers/tty/serial/Kconfig