diff options
author | Damien Le Moal <damien.lemoal@wdc.com> | 2019-10-28 13:10:33 +0100 |
---|---|---|
committer | Paul Walmsley <paul.walmsley@sifive.com> | 2019-11-13 22:20:02 +0100 |
commit | eded8bc66a0c2c43a1789ac6c973e2c5d47eac12 (patch) | |
tree | 69141b205a7739d3b268a3e2fa30922ea7e428e3 /drivers/tty/hvc | |
parent | riscv: abstract out CSR names for supervisor vs machine mode (diff) | |
download | linux-eded8bc66a0c2c43a1789ac6c973e2c5d47eac12.tar.xz linux-eded8bc66a0c2c43a1789ac6c973e2c5d47eac12.zip |
riscv: don't allow selecting SBI based drivers for M-mode
When running in M-mode we can't use SBI based drivers. Add a new
CONFIG_RISCV_SBI that drivers that do SBI calls can depend on
instead.
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
Diffstat (limited to 'drivers/tty/hvc')
-rw-r--r-- | drivers/tty/hvc/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/hvc/Kconfig b/drivers/tty/hvc/Kconfig index 4d22b911111f..4487a6b9acc8 100644 --- a/drivers/tty/hvc/Kconfig +++ b/drivers/tty/hvc/Kconfig @@ -89,7 +89,7 @@ config HVC_DCC config HVC_RISCV_SBI bool "RISC-V SBI console support" - depends on RISCV + depends on RISCV_SBI select HVC_DRIVER help This enables support for console output via RISC-V SBI calls, which |