On Sun, Sep 12, 2021 at 11:56 PM Samuel Holland <sam...@sholland.org> wrote: > > The RISC-V SBI interface v0.1 provides a function for printing a > character to the console. Even though SBI v0.1 functions are deprecated, > the SBI console is quite useful for early debugging, because it works > without any dcache, memory, or MMIO access in S mode. > > Signed-off-by: Samuel Holland <sam...@sholland.org> > --- > > drivers/serial/Kconfig | 10 ++++++++++ > drivers/serial/Makefile | 1 + > drivers/serial/serial_sbi.c | 16 ++++++++++++++++ > 3 files changed, 27 insertions(+) > create mode 100644 drivers/serial/serial_sbi.c >
Reviewed-by: Bin Meng <bmeng...@gmail.com>