
28 Jan
2022
28 Jan
'22
3:13 p.m.
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