serial: Add RISC-V HTIF console driver
authorAnup Patel <apatel@ventanamicro.com>
Thu, 27 Jan 2022 06:11:07 +0000 (11:41 +0530)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 10 Feb 2022 03:18:12 +0000 (11:18 +0800)
commitd6ba787e32cff82b6191c59e012ffc01a8e45604
tree4dbda20581174e8b89a2f0ac38dce873fa00f1de
parent531c00894577a0a852431adf61ade76925f8b162
serial: Add RISC-V HTIF console driver

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>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
drivers/serial/Kconfig
drivers/serial/Makefile
drivers/serial/serial_htif.c [new file with mode: 0644]