1# SPDX-License-Identifier: Apache-2.0
2
3menuconfig UART_NS16550
4	bool "NS16550 serial driver"
5	select SERIAL_HAS_DRIVER
6	select SERIAL_SUPPORT_INTERRUPT
7	help
8	  This option enables the NS16550 serial driver.
9	  This driver can be used for the serial hardware
10	  available on x86 boards.
11
12if UART_NS16550
13
14config UART_NS16550_LINE_CTRL
15	bool "Enable Serial Line Control for Apps"
16	depends on UART_LINE_CTRL
17	help
18	  This enables the API for apps to control the serial line,
19	  such as CTS and RTS.
20
21	  Says n if not sure.
22
23config UART_NS16550_DRV_CMD
24	bool "Enable Driver Commands"
25	depends on UART_DRV_CMD
26	help
27	  This enables the API for apps to send commands to driver.
28
29	  Says n if not sure.
30
31config UART_NS16750
32	bool "Enable UART 16750 (64-bytes FIFO and auto flow control)"
33	help
34	  This enables support for 64-bytes FIFO and automatic hardware
35	  flow control if UART controller is 16750.
36
37config UART_NS16550_ACCESS_WORD_ONLY
38	bool "NS16550 only allows word access"
39	help
40	  In some case, e.g. ARC HS Development kit, the peripheral space of ns
41	  16550 (DesignWare UART) only allows word access, byte access will raise
42	  exception.
43
44endif # UART_NS16550
45