forked from Mirrors/opensbi

We add RISC-V semihosting based serial console for JTAG based early debugging. The RISC-V semihosting specification is available at: https://github.com/riscv/riscv-semihosting-spec/blob/main/riscv-semihosting-spec.adoc Signed-off-by: Anup Patel <apatel@ventanamicro.com> Signed-off-by: Kautuk Consul <kconsul@ventanamicro.com> Reviewed-by: Anup Patel <anup@brainfault.org>
87 lines
1.4 KiB
Plaintext
87 lines
1.4 KiB
Plaintext
# SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
menu "Serial Device Support"
|
|
|
|
config FDT_SERIAL
|
|
bool "FDT based serial drivers"
|
|
depends on FDT
|
|
default n
|
|
|
|
if FDT_SERIAL
|
|
|
|
config FDT_SERIAL_CADENCE
|
|
bool "Cadence UART FDT driver"
|
|
select SERIAL_CADENCE
|
|
default n
|
|
|
|
config FDT_SERIAL_GAISLER
|
|
bool "Gaisler UART FDT driver"
|
|
select SERIAL_GAISLER
|
|
default n
|
|
|
|
config FDT_SERIAL_HTIF
|
|
bool "Host transfer interface (HTIF) UART FDT driver"
|
|
select SYS_HTIF
|
|
default n
|
|
|
|
config FDT_SERIAL_SHAKTI
|
|
bool "Shakti UART FDT driver"
|
|
select SERIAL_SHAKTI
|
|
default n
|
|
|
|
config FDT_SERIAL_SIFIVE
|
|
bool "SiFive UART FDT driver"
|
|
select SERIAL_SIFIVE
|
|
default n
|
|
|
|
config FDT_SERIAL_LITEX
|
|
bool "LiteX UART FDT driver"
|
|
select SERIAL_LITEX
|
|
default n
|
|
|
|
config FDT_SERIAL_UART8250
|
|
bool "8250 UART FDT driver"
|
|
select SERIAL_UART8250
|
|
default n
|
|
|
|
config FDT_SERIAL_XILINX_UARTLITE
|
|
bool "Xilinx UART Lite FDT driver"
|
|
select SERIAL_XILINX_UARTLITE
|
|
default n
|
|
|
|
endif
|
|
|
|
config SERIAL_CADENCE
|
|
bool "Cadence UART support"
|
|
default n
|
|
|
|
config SERIAL_GAISLER
|
|
bool "Gaisler UART support"
|
|
default n
|
|
|
|
config SERIAL_SHAKTI
|
|
bool "Shakti UART support"
|
|
default n
|
|
|
|
config SERIAL_SIFIVE
|
|
bool "SiFive UART support"
|
|
default n
|
|
|
|
config SERIAL_LITEX
|
|
bool "LiteX UART support"
|
|
default n
|
|
|
|
config SERIAL_UART8250
|
|
bool "8250 UART support"
|
|
default n
|
|
|
|
config SERIAL_XILINX_UARTLITE
|
|
bool "Xilinx UART Lite support"
|
|
default n
|
|
|
|
config SERIAL_SEMIHOSTING
|
|
bool "Semihosting support"
|
|
default n
|
|
|
|
endmenu
|