forked from Mirrors/opensbi

We update serial drivers makefile to use kconfig for enabling/disabling drivers. To avoid compile errors, we also enable appropriate serial drivers for each platform. Signed-off-by: Anup Patel <apatel@ventanamicro.com> Tested-by: Andrew Jones <ajones@ventanamicro.com> Acked-by: Atish Patra <atishp@rivosinc.com> Tested-by: Atish Patra <atishp@rivosinc.com>
72 lines
1.2 KiB
Plaintext
72 lines
1.2 KiB
Plaintext
# SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
menu "Serial Device Support"
|
|
|
|
config FDT_SERIAL
|
|
bool "FDT based serial drivers"
|
|
default n
|
|
|
|
if FDT_SERIAL
|
|
|
|
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"
|
|
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_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
|
|
|
|
endmenu
|