
5 Sep
2023
5 Sep
'23
4:39 a.m.
On Mon, Sep 04, 2023 at 01:24:04PM +0200, Heinrich Schuchardt wrote:
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
v2: check that we are in S-mode
drivers/serial/Kconfig | 5 ++++- drivers/serial/serial_sbi.c | 20 ++++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-)
Reviewed-by: Leo Yu-Chi Liang ycliang@andestech.com