On Thu, Jan 27, 2022 at 2:11 PM Anup Patel <apa...@ventanamicro.com> wrote: > > Quite a few RISC-V emulators and ISS (including Spike) have host > transfer interface (HTIF) based console. This patch adds HTIF > based console driver for RISC-V platforms which depends totally > on DT node for HTIF register base address. > > Signed-off-by: Anup Patel <apa...@ventanamicro.com> > Reviewed-by: Philipp Tomsich <philipp.toms...@vrull.eu> > Reviewed-by: Rick Chen <r...@andestech.com> > --- > drivers/serial/Kconfig | 8 ++ > drivers/serial/Makefile | 1 + > drivers/serial/serial_htif.c | 178 +++++++++++++++++++++++++++++++++++ > 3 files changed, 187 insertions(+) > create mode 100644 drivers/serial/serial_htif.c >
Tested-by: Bin Meng <bmeng...@gmail.com>