]> git.ipfire.org Git - thirdparty/u-boot.git/commit
serial: atmel-usart: add support for skiping debug UART init
authorRobert Marko <robert.marko@sartura.hr>
Mon, 12 Jan 2026 13:12:42 +0000 (14:12 +0100)
committerEugen Hristev <eugen.hristev@linaro.org>
Wed, 4 Feb 2026 12:12:56 +0000 (14:12 +0200)
commit52be03bdf713807fea7f362c1b9cffe9ead34c18
tree0a3dcf1e3c7949e58330c440e991dc0ced8d55b4
parenta155dbc9f2bb2f060531ec7f9565cde0e6d92b25
serial: atmel-usart: add support for skiping debug UART init

Currently, atmel-usart does not respect CONFIG_DEBUG_UART_SKIP_INIT so
it will always configure the debug UART.

However, this is unwanted on platforms on which TF-A or some other firmware
has already configured the debug UART.

This will be used for Microchip LAN969x support, so simply return early if
CONFIG_DEBUG_UART_SKIP_INIT is set.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
drivers/serial/atmel_usart.c