]> Git Repo - u-boot.git/commit
serial: pl011: Enable DEBUG_UART_PL011 in SPL
authorChen Baozi <[email protected]>
Wed, 21 Jul 2021 06:11:26 +0000 (14:11 +0800)
committerTom Rini <[email protected]>
Sat, 24 Jul 2021 12:57:53 +0000 (08:57 -0400)
commit91a043896dfb8544db00496bee08bcf59e449dc9
treee84e326d3b8553b10bc3e6b9df655a8b17d06429
parentbc7b38450baa4efe71bb14ea8aab9e8d206073fd
serial: pl011: Enable DEBUG_UART_PL011 in SPL

Commit b81406db51a6 ("arm: serial: Add debug UART capability to the
pl01x driver") add supports to use pl01x as a debug UART. However,
due to CONFIG_IS_ENABLED macro requires CONFIG_SPL_* prefix, the
_debug_uart_init() would not choose TYPE_PL011 in SPL build. This
patch fixes the bug by judging CONFIG_DEBUG_UART_PL011 explicitly.

Signed-off-by: Chen Baozi <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
drivers/serial/serial_pl01x.c
This page took 0.033752 seconds and 4 git commands to generate.