xref: /openbmc/u-boot/drivers/serial/Kconfig (revision 98d62e61)
10b11dbf7SMasahiro Yamada#
20b11dbf7SMasahiro Yamada# Serial device configuration
30b11dbf7SMasahiro Yamada#
40b11dbf7SMasahiro Yamada
50b11dbf7SMasahiro Yamadamenu "Serial drivers"
60b11dbf7SMasahiro Yamada
78c458588SHans de Goedeconfig REQUIRE_SERIAL_CONSOLE
88c458588SHans de Goede	bool "Require a serial port for console"
98c458588SHans de Goede	# Running without a serial console is not supported by the
108c458588SHans de Goede	# non-dm serial code
118c458588SHans de Goede	depends on DM_SERIAL
128c458588SHans de Goede	default y
138c458588SHans de Goede	help
148c458588SHans de Goede	  Require a serial port for the console, and panic if none is found
158c458588SHans de Goede	  during serial port initialization (default y). Set this to n on
168c458588SHans de Goede	  boards which have no debug serial port whatsoever.
178c458588SHans de Goede
1892c55b68SSimon Glassconfig SERIAL_PRESENT
1992c55b68SSimon Glass	bool "Provide a serial driver"
2092c55b68SSimon Glass	depends on DM_SERIAL
2192c55b68SSimon Glass	default y
2292c55b68SSimon Glass	help
2392c55b68SSimon Glass	  In very space-constrained devices even the full UART driver is too
2492c55b68SSimon Glass	  large. In this case the debug UART can still be used in some cases.
2592c55b68SSimon Glass	  This option enables the full UART in U-Boot, so if is it disabled,
2692c55b68SSimon Glass	  the full UART driver will be omitted, thus saving space.
2792c55b68SSimon Glass
2892c55b68SSimon Glassconfig SPL_SERIAL_PRESENT
2992c55b68SSimon Glass	bool "Provide a serial driver in SPL"
3092c55b68SSimon Glass	depends on DM_SERIAL
3192c55b68SSimon Glass	default y
3292c55b68SSimon Glass	help
3392c55b68SSimon Glass	  In very space-constrained devices even the full UART driver is too
3492c55b68SSimon Glass	  large. In this case the debug UART can still be used in some cases.
3592c55b68SSimon Glass	  This option enables the full UART in SPL, so if is it disabled,
3692c55b68SSimon Glass	  the full UART driver will be omitted, thus saving space.
3792c55b68SSimon Glass
38da333ae7SMasahiro Yamadaconfig DM_SERIAL
39da333ae7SMasahiro Yamada	bool "Enable Driver Model for serial drivers"
40da333ae7SMasahiro Yamada	depends on DM
41da333ae7SMasahiro Yamada	help
42f94a1bedSSimon Glass	  Enable driver model for serial. This replaces
43f94a1bedSSimon Glass	  drivers/serial/serial.c with the serial uclass, which
44f94a1bedSSimon Glass	  implements serial_putc() etc. The uclass interface is
45f94a1bedSSimon Glass	  defined in include/serial.h.
46ff247b7aSMasahiro Yamada
472f964aa7SSimon Glassconfig DEBUG_UART
482f964aa7SSimon Glass	bool "Enable an early debug UART for debugging"
492f964aa7SSimon Glass	help
502f964aa7SSimon Glass	  The debug UART is intended for use very early in U-Boot to debug
512f964aa7SSimon Glass	  problems when an ICE or other debug mechanism is not available.
522f964aa7SSimon Glass
532f964aa7SSimon Glass	  To use it you should:
542f964aa7SSimon Glass	  - Make sure your UART supports this interface
552f964aa7SSimon Glass	  - Enable CONFIG_DEBUG_UART
562f964aa7SSimon Glass	  - Enable the CONFIG for your UART to tell it to provide this interface
572f964aa7SSimon Glass	        (e.g. CONFIG_DEBUG_UART_NS16550)
582f964aa7SSimon Glass	  - Define the required settings as needed (see below)
592f964aa7SSimon Glass	  - Call debug_uart_init() before use
602f964aa7SSimon Glass	  - Call debug_uart_putc() to output a character
612f964aa7SSimon Glass
622f964aa7SSimon Glass	  Depending on your platform it may be possible to use this UART before
632f964aa7SSimon Glass	  a stack is available.
642f964aa7SSimon Glass
652f964aa7SSimon Glass	  If your UART does not support this interface you can probably add
662f964aa7SSimon Glass	  support quite easily. Remember that you cannot use driver model and
672f964aa7SSimon Glass	  it is preferred to use no stack.
682f964aa7SSimon Glass
692f964aa7SSimon Glass	  You must not use this UART once driver model is working and the
702f964aa7SSimon Glass	  serial drivers are up and running (done in serial_init()). Otherwise
712f964aa7SSimon Glass	  the drivers may conflict and you will get strange output.
722f964aa7SSimon Glass
7321d00436SSimon Glasschoice
7421d00436SSimon Glass	prompt "Select which UART will provide the debug UART"
7521d00436SSimon Glass	depends on DEBUG_UART
76b1e361b6SThomas Chou	default DEBUG_UART_NS16550
7721d00436SSimon Glass
78220e8021SThomas Chouconfig DEBUG_UART_ALTERA_JTAGUART
79220e8021SThomas Chou	bool "Altera JTAG UART"
80220e8021SThomas Chou	help
81220e8021SThomas Chou	  Select this to enable a debug UART using the altera_jtag_uart driver.
82220e8021SThomas Chou	  You will need to provide parameters to make this work. The driver will
83220e8021SThomas Chou	  be available until the real driver model serial is running.
84220e8021SThomas Chou
85da2f838dSThomas Chouconfig DEBUG_UART_ALTERA_UART
86da2f838dSThomas Chou	bool "Altera UART"
87da2f838dSThomas Chou	help
88da2f838dSThomas Chou	  Select this to enable a debug UART using the altera_uart driver.
89da2f838dSThomas Chou	  You will need to provide parameters to make this work. The driver will
90da2f838dSThomas Chou	  be available until the real driver model serial is running.
91da2f838dSThomas Chou
9260b49761SWills Wangconfig DEBUG_UART_AR933X
9360b49761SWills Wang	bool "QCA/Atheros ar933x"
9460b49761SWills Wang	depends on AR933X_UART
9560b49761SWills Wang	help
9660b49761SWills Wang	  Select this to enable a debug UART using the ar933x uart driver.
9760b49761SWills Wang	  You will need to provide parameters to make this work. The
9860b49761SWills Wang	  driver will be available until the real driver model serial is
9960b49761SWills Wang	  running.
10060b49761SWills Wang
101998cf3c2SWenyou Yangconfig DEBUG_UART_ATMEL
102998cf3c2SWenyou Yang	bool "Atmel USART"
103998cf3c2SWenyou Yang	help
104998cf3c2SWenyou Yang	  Select this to enable a debug UART using the atmel usart driver. You
105998cf3c2SWenyou Yang	  will need to provide parameters to make this work. The driver will
106998cf3c2SWenyou Yang	  be available until the real driver-model serial is running.
107998cf3c2SWenyou Yang
10821d00436SSimon Glassconfig DEBUG_UART_NS16550
10921d00436SSimon Glass	bool "ns16550"
11021d00436SSimon Glass	help
11121d00436SSimon Glass	  Select this to enable a debug UART using the ns16550 driver. You
11221d00436SSimon Glass	  will need to provide parameters to make this work. The driver will
11321d00436SSimon Glass	  be available until the real driver model serial is running.
11421d00436SSimon Glass
115275854baSSimon Glassconfig DEBUG_EFI_CONSOLE
116275854baSSimon Glass	bool "EFI"
117275854baSSimon Glass	depends on EFI_APP
118275854baSSimon Glass	help
119275854baSSimon Glass	  Select this to enable a debug console which calls back to EFI to
120275854baSSimon Glass	  output to the console. This can be useful for early debugging of
121275854baSSimon Glass	  U-Boot when running on top of EFI (Extensive Firmware Interface).
122275854baSSimon Glass	  This is a type of BIOS used by PCs.
123275854baSSimon Glass
124bf6e7022SSimon Glassconfig DEBUG_UART_S5P
125bf6e7022SSimon Glass	bool "Samsung S5P"
126bf6e7022SSimon Glass	help
127bf6e7022SSimon Glass	  Select this to enable a debug UART using the serial_s5p driver. You
128bf6e7022SSimon Glass	  will need to provide parameters to make this work. The driver will
129bf6e7022SSimon Glass	  be available until the real driver-model serial is running.
130bf6e7022SSimon Glass
131bfcef28aSBeniamino Galvaniconfig DEBUG_UART_MESON
132bfcef28aSBeniamino Galvani	bool "Amlogic Meson"
133bfcef28aSBeniamino Galvani	depends on MESON_SERIAL
134bfcef28aSBeniamino Galvani	help
135bfcef28aSBeniamino Galvani	  Select this to enable a debug UART using the serial_meson driver. You
136bfcef28aSBeniamino Galvani	  will need to provide parameters to make this work. The driver will
137bfcef28aSBeniamino Galvani	  be available until the real driver-model serial is running.
138bfcef28aSBeniamino Galvani
1394166ba3bSMichal Simekconfig DEBUG_UART_UARTLITE
1404166ba3bSMichal Simek	bool "Xilinx Uartlite"
1414166ba3bSMichal Simek	help
1424166ba3bSMichal Simek	  Select this to enable a debug UART using the serial_uartlite driver.
1434166ba3bSMichal Simek	  You will need to provide parameters to make this work. The driver will
1444166ba3bSMichal Simek	  be available until the real driver-model serial is running.
1454166ba3bSMichal Simek
146966bfa73SMichal Simekconfig DEBUG_UART_ARM_DCC
147966bfa73SMichal Simek	bool "ARM DCC"
148966bfa73SMichal Simek	help
149966bfa73SMichal Simek	  Select this to enable a debug UART using the ARM JTAG DCC port.
150966bfa73SMichal Simek	  The DCC port can be used for very early debugging and doesn't require
151966bfa73SMichal Simek	  any additional setting like address/baudrate/clock. On systems without
152966bfa73SMichal Simek	  any serial interface this is the easiest way how to get console.
153966bfa73SMichal Simek	  Every ARM core has own DCC port which is the part of debug interface.
154966bfa73SMichal Simek	  This port is available at least on ARMv6, ARMv7, ARMv8 and XScale
155966bfa73SMichal Simek	  architectures.
156966bfa73SMichal Simek
1576985d496SStefan Roeseconfig DEBUG_MVEBU_A3700_UART
1586985d496SStefan Roese	bool "Marvell Armada 3700"
1596985d496SStefan Roese	help
1606985d496SStefan Roese	  Select this to enable a debug UART using the serial_mvebu driver. You
1616985d496SStefan Roese	  will need to provide parameters to make this work. The driver will
1626985d496SStefan Roese	  be available until the real driver-model serial is running.
1636985d496SStefan Roese
164c54c0a4cSSimon Glassconfig DEBUG_UART_ZYNQ
165c54c0a4cSSimon Glass	bool "Xilinx Zynq"
166c54c0a4cSSimon Glass	help
1676bf87dacSMichal Simek	  Select this to enable a debug UART using the serial_zynq driver. You
168c54c0a4cSSimon Glass	  will need to provide parameters to make this work. The driver will
169c54c0a4cSSimon Glass	  be available until the real driver-model serial is running.
170c54c0a4cSSimon Glass
171e43ce3fcSFrancois Retiefconfig DEBUG_UART_APBUART
172e43ce3fcSFrancois Retief	depends on LEON3
173e43ce3fcSFrancois Retief	bool "Gaisler APBUART"
174e43ce3fcSFrancois Retief	help
175e43ce3fcSFrancois Retief	  Select this to enable a debug UART using the serial_leon3 driver. You
176e43ce3fcSFrancois Retief	  will need to provide parameters to make this work. The driver will
177e43ce3fcSFrancois Retief	  be available until the real driver model serial is running.
178e43ce3fcSFrancois Retief
17919de8150SSergey Temerkhanovconfig DEBUG_UART_PL010
18019de8150SSergey Temerkhanov	bool "pl010"
18119de8150SSergey Temerkhanov	help
18219de8150SSergey Temerkhanov	  Select this to enable a debug UART using the pl01x driver with the
18319de8150SSergey Temerkhanov	  PL010 UART type. You will need to provide parameters to make this
18419de8150SSergey Temerkhanov	  work. The driver will be available until the real driver model
18519de8150SSergey Temerkhanov	  serial is running.
18619de8150SSergey Temerkhanov
18719de8150SSergey Temerkhanovconfig DEBUG_UART_PL011
18819de8150SSergey Temerkhanov	bool "pl011"
18919de8150SSergey Temerkhanov	help
19019de8150SSergey Temerkhanov	  Select this to enable a debug UART using the pl01x driver with the
19119de8150SSergey Temerkhanov	  PL011 UART type. You will need to provide parameters to make this
19219de8150SSergey Temerkhanov	  work. The driver will be available until the real driver model
19319de8150SSergey Temerkhanov	  serial is running.
19419de8150SSergey Temerkhanov
1959e160ee8SPaul Thackerconfig DEBUG_UART_PIC32
1969e160ee8SPaul Thacker	bool "Microchip PIC32"
1979e160ee8SPaul Thacker	depends on PIC32_SERIAL
1989e160ee8SPaul Thacker	help
1999e160ee8SPaul Thacker	  Select this to enable a debug UART using the serial_pic32 driver. You
2009e160ee8SPaul Thacker	  will need to provide parameters to make this work. The driver will
2019e160ee8SPaul Thacker	  be available until the real driver model serial is running.
2029e160ee8SPaul Thacker
203d5cf3297SMasahiro Yamadaconfig DEBUG_UART_UNIPHIER
204d5cf3297SMasahiro Yamada	bool "UniPhier on-chip UART"
205d5cf3297SMasahiro Yamada	depends on ARCH_UNIPHIER
206d5cf3297SMasahiro Yamada	help
207d5cf3297SMasahiro Yamada	  Select this to enable a debug UART using the UniPhier on-chip UART.
208d5cf3297SMasahiro Yamada	  You will need to provide DEBUG_UART_BASE to make this work.  The
209d5cf3297SMasahiro Yamada	  driver will be available until the real driver-model serial is
210d5cf3297SMasahiro Yamada	  running.
211d5cf3297SMasahiro Yamada
21221d00436SSimon Glassendchoice
21321d00436SSimon Glass
2142f964aa7SSimon Glassconfig DEBUG_UART_BASE
2152f964aa7SSimon Glass	hex "Base address of UART"
2162f964aa7SSimon Glass	depends on DEBUG_UART
2172f964aa7SSimon Glass	help
2182f964aa7SSimon Glass	  This is the base address of your UART for memory-mapped UARTs.
2192f964aa7SSimon Glass
2202f964aa7SSimon Glass	  A default should be provided by your board, but if not you will need
2212f964aa7SSimon Glass	  to use the correct value here.
2222f964aa7SSimon Glass
2232f964aa7SSimon Glassconfig DEBUG_UART_CLOCK
2242f964aa7SSimon Glass	int "UART input clock"
2252f964aa7SSimon Glass	depends on DEBUG_UART
2262f964aa7SSimon Glass	help
2272f964aa7SSimon Glass	  The UART input clock determines the speed of the internal UART
2282f964aa7SSimon Glass	  circuitry. The baud rate is derived from this by dividing the input
2292f964aa7SSimon Glass	  clock down.
2302f964aa7SSimon Glass
2312f964aa7SSimon Glass	  A default should be provided by your board, but if not you will need
2322f964aa7SSimon Glass	  to use the correct value here.
2332f964aa7SSimon Glass
234dd0b0122SSimon Glassconfig DEBUG_UART_SHIFT
235dd0b0122SSimon Glass	int "UART register shift"
236dd0b0122SSimon Glass	depends on DEBUG_UART
237dd0b0122SSimon Glass	default 0 if DEBUG_UART
238dd0b0122SSimon Glass	help
239dd0b0122SSimon Glass	  Some UARTs (notably ns16550) support different register layouts
240dd0b0122SSimon Glass	  where the registers are spaced either as bytes, words or some other
241dd0b0122SSimon Glass	  value. Use this value to specify the shift to use, where 0=byte
242dd0b0122SSimon Glass	  registers, 2=32-bit word registers, etc.
243dd0b0122SSimon Glass
2440e977bc1SSimon Glassconfig DEBUG_UART_BOARD_INIT
2450e977bc1SSimon Glass	bool "Enable board-specific debug UART init"
2460e977bc1SSimon Glass	depends on DEBUG_UART
2470e977bc1SSimon Glass	help
2480e977bc1SSimon Glass	  Some boards need to set things up before the debug UART can be used.
2490e977bc1SSimon Glass	  On these boards a call to debug_uart_init() is insufficient. When
2500e977bc1SSimon Glass	  this option is enabled, the function board_debug_uart_init() will
2510e977bc1SSimon Glass	  be called when debug_uart_init() is called. You can put any code
2520e977bc1SSimon Glass	  here that is needed to set up the UART ready for use, such as set
2530e977bc1SSimon Glass	  pin multiplexing or enable clocks.
2540e977bc1SSimon Glass
255c7fefcb9SSimon Glassconfig DEBUG_UART_ANNOUNCE
256c7fefcb9SSimon Glass	bool "Show a message when the debug UART starts up"
257c7fefcb9SSimon Glass	depends on DEBUG_UART
258c7fefcb9SSimon Glass	help
259c7fefcb9SSimon Glass	  Enable this option to show a message when the debug UART is ready
260c7fefcb9SSimon Glass	  for use. You will see a message like "<debug_uart> " as soon as
261c7fefcb9SSimon Glass	  U-Boot has the UART ready for use (i.e. your code calls
262c7fefcb9SSimon Glass	  debug_uart_init()). This can be useful just as a check that
263c7fefcb9SSimon Glass	  everything is working.
264c7fefcb9SSimon Glass
26519de8150SSergey Temerkhanovconfig DEBUG_UART_SKIP_INIT
26619de8150SSergey Temerkhanov	bool "Skip UART initialization"
26719de8150SSergey Temerkhanov	help
26819de8150SSergey Temerkhanov	  Select this if the UART you want to use for debug output is already
26919de8150SSergey Temerkhanov	  initialized by the time U-Boot starts its execution.
27019de8150SSergey Temerkhanov
271220e8021SThomas Chouconfig ALTERA_JTAG_UART
272220e8021SThomas Chou	bool "Altera JTAG UART support"
273220e8021SThomas Chou	depends on DM_SERIAL
274220e8021SThomas Chou	help
275220e8021SThomas Chou	  Select this to enable an JTAG UART for Altera devices.The JTAG UART
276220e8021SThomas Chou	  core implements a method to communicate serial character streams
277220e8021SThomas Chou	  between a host PC and a Qsys system on an Altera FPGA. Please find
278220e8021SThomas Chou	  details on the "Embedded Peripherals IP User Guide" of Altera.
279220e8021SThomas Chou
280220e8021SThomas Chouconfig ALTERA_JTAG_UART_BYPASS
281220e8021SThomas Chou	bool "Bypass output when no connection"
282220e8021SThomas Chou	depends on ALTERA_JTAG_UART
283220e8021SThomas Chou	help
284220e8021SThomas Chou	  Bypass console output and keep going even if there is no JTAG
285220e8021SThomas Chou	  terminal connection with the host. The console output will resume
286220e8021SThomas Chou	  once the JTAG terminal is connected. Without the bypass, the console
287220e8021SThomas Chou	  output will wait forever until a JTAG terminal is connected. If you
288220e8021SThomas Chou	  not are sure, say Y.
289220e8021SThomas Chou
290da2f838dSThomas Chouconfig ALTERA_UART
291da2f838dSThomas Chou	bool "Altera UART support"
292da2f838dSThomas Chou	depends on DM_SERIAL
293da2f838dSThomas Chou	help
294da2f838dSThomas Chou	  Select this to enable an UART for Altera devices. Please find
295da2f838dSThomas Chou	  details on the "Embedded Peripherals IP User Guide" of Altera.
296da2f838dSThomas Chou
29760b49761SWills Wangconfig AR933X_UART
29860b49761SWills Wang	bool "QCA/Atheros ar933x UART support"
29960b49761SWills Wang	depends on DM_SERIAL && SOC_AR933X
30060b49761SWills Wang	help
30160b49761SWills Wang	  Select this to enable UART support for QCA/Atheros ar933x
30260b49761SWills Wang	  devices. This driver uses driver model and requires a device
30360b49761SWills Wang	  tree binding to operate, please refer to the document at
30460b49761SWills Wang	  doc/device-tree-bindings/serial/qca,ar9330-uart.txt.
30560b49761SWills Wang
3066ec739aaSWenyou Yangconfig ATMEL_USART
3076ec739aaSWenyou Yang	bool "Atmel USART support"
3086ec739aaSWenyou Yang	help
3096ec739aaSWenyou Yang	  Select this to enable USART support for Atmel SoCs. It can be
3106ec739aaSWenyou Yang	  configured in the device tree, and input clock frequency can
3116ec739aaSWenyou Yang	  be got from the clk node.
3126ec739aaSWenyou Yang
3135ed07cf5SBin Mengconfig FSL_LPUART
3145ed07cf5SBin Meng	bool "Freescale LPUART support"
3155ed07cf5SBin Meng	help
3165ed07cf5SBin Meng	  Select this to enable a Low Power UART for Freescale VF610 and
3175ed07cf5SBin Meng	  QorIQ Layerscape devices.
3185ed07cf5SBin Meng
3196985d496SStefan Roeseconfig MVEBU_A3700_UART
3206985d496SStefan Roese	bool "UART support for Armada 3700"
3216985d496SStefan Roese	default n
3226985d496SStefan Roese	help
3236985d496SStefan Roese	  Choose this option to add support for UART driver on the Marvell
3246985d496SStefan Roese	  Armada 3700 SoC. The base address is configured via DT.
3256985d496SStefan Roese
3268829e662SJagan Tekiconfig MXC_UART
3278829e662SJagan Teki	bool "IMX serial port support"
328*98d62e61SPatrick Bruenn	depends on MX5 || MX6
3298829e662SJagan Teki	help
3308829e662SJagan Teki	  If you have a machine based on a Motorola IMX CPU you
3318829e662SJagan Teki	  can enable its onboard serial port by enabling this option.
3328829e662SJagan Teki
3339e160ee8SPaul Thackerconfig PIC32_SERIAL
3349e160ee8SPaul Thacker	bool "Support for Microchip PIC32 on-chip UART"
3359e160ee8SPaul Thacker	depends on DM_SERIAL && MACH_PIC32
3369e160ee8SPaul Thacker	default y
3379e160ee8SPaul Thacker	help
3389e160ee8SPaul Thacker	  Support for the UART found on Microchip PIC32 SoC's.
3399e160ee8SPaul Thacker
3409e39003eSThomas Chouconfig SYS_NS16550
3419e39003eSThomas Chou	bool "NS16550 UART or compatible"
3429e39003eSThomas Chou	help
3439e39003eSThomas Chou	  Support NS16550 UART or compatible. This can be enabled in the
3449e39003eSThomas Chou	  device tree with the correct input clock frequency. If the input
3459e39003eSThomas Chou	  clock frequency is not defined in the device tree, the macro
3469e39003eSThomas Chou	  CONFIG_SYS_NS16550_CLK defined in a legacy board header file will
3479e39003eSThomas Chou	  be used. It can be a constant or a function to get clock, eg,
3489e39003eSThomas Chou	  get_serial_clock().
3499e39003eSThomas Chou
3502fc24d53SSimon Glassconfig ROCKCHIP_SERIAL
3512fc24d53SSimon Glass	bool "Rockchip on-chip UART support"
3522fc24d53SSimon Glass	depends on DM_SERIAL && SPL_OF_PLATDATA
3532fc24d53SSimon Glass	help
3542fc24d53SSimon Glass	  Select this to enable a debug UART for Rockchip devices when using
3552fc24d53SSimon Glass	  CONFIG_OF_PLATDATA (i.e. a compiled-in device tree replacemenmt).
3562fc24d53SSimon Glass	  This uses the ns16550 driver, converting the platdata from of-platdata
3572fc24d53SSimon Glass	  to the ns16550 format.
3582fc24d53SSimon Glass
359af282245SSimon Glassconfig SANDBOX_SERIAL
360af282245SSimon Glass	bool "Sandbox UART support"
3612ea65f3eSMasahiro Yamada	depends on SANDBOX
362af282245SSimon Glass	help
363af282245SSimon Glass	  Select this to enable a seral UART for sandbox. This is required to
364af282245SSimon Glass	  operate correctly, otherwise you will see no serial output from
365af282245SSimon Glass	  sandbox. The emulated UART will display to the console and console
366af282245SSimon Glass	  input will be fed into the UART. This allows you to interact with
367af282245SSimon Glass	  U-Boot.
368af282245SSimon Glass
369af282245SSimon Glass	  The operation of the console is controlled by the -t command-line
370af282245SSimon Glass	  flag. In raw mode, U-Boot sees all characters from the terminal
371af282245SSimon Glass	  before they are processed, including Ctrl-C. In cooked mode, Ctrl-C
372af282245SSimon Glass	  is processed by the terminal, and terminates U-Boot. Valid options
373af282245SSimon Glass	  are:
374af282245SSimon Glass
375af282245SSimon Glass	     -t raw-with-sigs	Raw mode, Ctrl-C will terminate U-Boot
376af282245SSimon Glass	     -t raw		Raw mode, Ctrl-C is processed by U-Boot
377af282245SSimon Glass	     -t cooked		Cooked mode, Ctrl-C terminates
378af282245SSimon Glass
379ff247b7aSMasahiro Yamadaconfig UNIPHIER_SERIAL
380b6ef3a3fSMasahiro Yamada	bool "Support for UniPhier on-chip UART"
3812ea65f3eSMasahiro Yamada	depends on ARCH_UNIPHIER
38285dc2fe1SMasahiro Yamada	default y
383ff247b7aSMasahiro Yamada	help
384b6ef3a3fSMasahiro Yamada	  If you have a UniPhier based board and want to use the on-chip
385b6ef3a3fSMasahiro Yamada	  serial ports, say Y to this option. If unsure, say N.
386dcfe4a54SSimon Glass
38754e24d33SMichal Simekconfig XILINX_UARTLITE
38854e24d33SMichal Simek	bool "Xilinx Uarlite support"
38980cce262SRicardo Ribalda Delgado	depends on DM_SERIAL && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP || 4xx)
39054e24d33SMichal Simek	help
39154e24d33SMichal Simek	  If you have a Xilinx based board and want to use the uartlite
39254e24d33SMichal Simek	  serial ports, say Y to this option. If unsure, say N.
39354e24d33SMichal Simek
394bfcef28aSBeniamino Galvaniconfig MESON_SERIAL
395bfcef28aSBeniamino Galvani	bool "Support for Amlogic Meson UART"
396bfcef28aSBeniamino Galvani	depends on DM_SERIAL && ARCH_MESON
397bfcef28aSBeniamino Galvani	help
398bfcef28aSBeniamino Galvani	  If you have an Amlogic Meson based board and want to use the on-chip
399bfcef28aSBeniamino Galvani	  serial ports, say Y to this option. If unsure, say N.
400bfcef28aSBeniamino Galvani
401142a20c3SMateusz Kulikowskiconfig MSM_SERIAL
402142a20c3SMateusz Kulikowski	bool "Qualcomm on-chip UART"
403142a20c3SMateusz Kulikowski	depends on DM_SERIAL
404142a20c3SMateusz Kulikowski	help
405142a20c3SMateusz Kulikowski	  Support Data Mover UART used on Qualcomm Snapdragon SoCs.
406142a20c3SMateusz Kulikowski	  It should support all Qualcomm devices with UARTDM version 1.4,
407142a20c3SMateusz Kulikowski	  for example APQ8016 and MSM8916.
408142a20c3SMateusz Kulikowski	  Single baudrate is supported in current implementation (115200).
4096985d496SStefan Roese
410d804a5e1SMarcel Ziswilerconfig PXA_SERIAL
411d804a5e1SMarcel Ziswiler	bool "PXA serial port support"
412d804a5e1SMarcel Ziswiler	help
413d804a5e1SMarcel Ziswiler	  If you have a machine based on a Marvell XScale PXA2xx CPU you
414d804a5e1SMarcel Ziswiler	  can enable its onboard serial ports by enabling this option.
415d804a5e1SMarcel Ziswiler
4160b11dbf7SMasahiro Yamadaendmenu
417