diff options
author | Anup Patel <apatel@ventanamicro.com> | 2022-01-27 11:41:07 +0530 |
---|---|---|
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | 2022-02-10 11:18:12 +0800 |
commit | d6ba787e32cff82b6191c59e012ffc01a8e45604 (patch) | |
tree | 4dbda20581174e8b89a2f0ac38dce873fa00f1de /drivers/serial/Kconfig | |
parent | 531c00894577a0a852431adf61ade76925f8b162 (diff) | |
download | u-boot-d6ba787e32cff82b6191c59e012ffc01a8e45604.tar.gz |
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>
Diffstat (limited to 'drivers/serial/Kconfig')
-rw-r--r-- | drivers/serial/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig index 6c8fdda9a0a..345d1881f55 100644 --- a/drivers/serial/Kconfig +++ b/drivers/serial/Kconfig @@ -866,6 +866,14 @@ config PXA_SERIAL If you have a machine based on a Marvell XScale PXA2xx CPU you can enable its onboard serial ports by enabling this option. +config HTIF_CONSOLE + bool "RISC-V HTIF console support" + depends on DM_SERIAL && 64BIT + help + Select this to enable host transfer interface (HTIF) based serial + console. The HTIF device is quite common in RISC-V emulators and + RISC-V ISS so this driver allows using U-Boot on such platforms. + config SIFIVE_SERIAL bool "SiFive UART support" depends on DM_SERIAL |