]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commitf016d4b50760697283fc7fa5966dd95da315f3c1
tree4dbda20581174e8b89a2f0ac38dce873fa00f1de
parentfa5ffdf3dc08c918bc79c2bebd6bf788c8572dbe
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]