e740818093
The sole purpose of init options has been to enable hardware flow control on NS16750 when asked. Use the proper DTS tags for this. Signed-off-by: Timo Teräs <timo.teras@iki.fi>
67 lines
1.8 KiB
Plaintext
67 lines
1.8 KiB
Plaintext
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
menuconfig UART_NS16550
|
|
bool "NS16550 serial driver"
|
|
select SERIAL_HAS_DRIVER
|
|
select SERIAL_SUPPORT_INTERRUPT
|
|
help
|
|
This option enables the NS16550 serial driver.
|
|
This driver can be used for the serial hardware
|
|
available on x86 boards.
|
|
|
|
config UART_NS16550_LINE_CTRL
|
|
bool "Enable Serial Line Control for Apps"
|
|
depends on UART_LINE_CTRL && UART_NS16550
|
|
help
|
|
This enables the API for apps to control the serial line,
|
|
such as CTS and RTS.
|
|
|
|
Says n if not sure.
|
|
|
|
config UART_NS16550_DRV_CMD
|
|
bool "Enable Driver Commands"
|
|
depends on UART_DRV_CMD && UART_NS16550
|
|
help
|
|
This enables the API for apps to send commands to driver.
|
|
|
|
Says n if not sure.
|
|
|
|
config UART_NS16750
|
|
bool "Enable UART 16750 (64-bytes FIFO and auto flow control)"
|
|
depends on UART_NS16550
|
|
help
|
|
This enables support for 64-bytes FIFO and automatic hardware
|
|
flow control if UART controller is 16750.
|
|
|
|
config UART_NS16550_ACCESS_WORD_ONLY
|
|
bool "NS16550 only allows word access"
|
|
depends on UART_NS16550
|
|
help
|
|
In some case, e.g. ARC HS Development kit, the peripheral space of ns
|
|
16550 (DesignWare UART) only allows word access, byte access will raise
|
|
exception.
|
|
|
|
menuconfig UART_NS16550_PORT_0
|
|
bool "Enable NS16550 Port 0"
|
|
depends on UART_NS16550
|
|
help
|
|
This tells the driver to configure the UART port at boot.
|
|
|
|
menuconfig UART_NS16550_PORT_1
|
|
bool "Enable NS16550 Port 1"
|
|
depends on UART_NS16550
|
|
help
|
|
This tells the driver to configure the UART port at boot.
|
|
|
|
menuconfig UART_NS16550_PORT_2
|
|
bool "Enable NS16550 Port 2"
|
|
depends on UART_NS16550
|
|
help
|
|
This tells the driver to configure the UART port at boot.
|
|
|
|
menuconfig UART_NS16550_PORT_3
|
|
bool "Enable NS16550 Port 3"
|
|
depends on UART_NS16550
|
|
help
|
|
This tells the driver to configure the UART port at boot.
|