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

Bin Meng bmeng.cn at gmail.com
Fri Jan 28 15:13:28 CET 2022


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


More information about the U-Boot mailing list