[PATCH v3] serial: pl011: Enable DEBUG_UART_PL011 in SPL

Tom Rini trini at konsulko.com
Sat Jul 24 22:41:11 CEST 2021


On Wed, Jul 21, 2021 at 02:11:26PM +0800, Chen Baozi wrote:

> 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 <chenbaozi at phytium.com.cn>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210724/4e33eb55/attachment.sig>


More information about the U-Boot mailing list