[PATCH v2 2/2] risc-v: implement DBCN based debug console

Leo Liang ycliang at andestech.com
Tue Sep 5 04:39:15 CEST 2023


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 at 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 at andestech.com>


More information about the U-Boot mailing list