risc-v: implement DBCN based debug console
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 4 Sep 2023 11:24:04 +0000 (13:24 +0200)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Tue, 5 Sep 2023 02:53:55 +0000 (10:53 +0800)
commitdfe08374943c0e898fcfaf7327f69e0fb56b7d23
treedba6f74cca2f0eb5726d838795b08fe87c7276bd
parentd14222e7c152e36bf7d370c2623242a22fb9e821
risc-v: implement DBCN based debug console

Use the DBCN SBI extension to implement a debug console.
Make it the default for S-mode RISC-V.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
drivers/serial/Kconfig
drivers/serial/serial_sbi.c