Re: [PATCH v2 1/4] serial: Add RISC-V HTIF console driver

Bin Meng
2022-01-28T14:13:47Z

On Thu, Jan 27, 2022 at 2:11 PM Anup Patel <apatel@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 <apatel@ventanamicro.com>
> Reviewed-by: Philipp Tomsich <philipp.tomsich@vrull.eu>
> Reviewed-by: Rick Chen <rick@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.cn@gmail.com>