Hi, On Wed, May 20, 2020 at 7:16 PM Kongou Hikari <hik...@nucleisys.com> wrote: > > - This patch supports debug serial and console from SBI syscall. > > Signed-off-by: Kongou Hikari <hik...@nucleisys.com> > --- > drivers/serial/Kconfig | 17 +++++ > drivers/serial/Makefile | 1 + > drivers/serial/serial_riscv_sbi.c | 104 ++++++++++++++++++++++++++++++ > 3 files changed, 122 insertions(+) > create mode 100644 drivers/serial/serial_riscv_sbi.c >
The SBI calls sbi_console_getchar & sbi_console_putchar are marked as legacy calls, and in U-Boot we default to use SBI v0.2 There is not a big value of adding that to the mainline IMHO. Regards, Bin