commit | a506ff47476e775a1c42bbc1c4661bc1ae134f7b | [log] [tgz] |
---|---|---|
author | Chen Baozi <chenbaozi@phytium.com.cn> | Wed Jul 21 14:11:26 2021 +0800 |
committer | Tom Rini <trini@konsulko.com> | Sat Jul 24 08:57:53 2021 -0400 |
tree | e84e326d3b8553b10bc3e6b9df655a8b17d06429 | |
parent | 39c110672b2bf82123360c8c6fccfb9ba14c4ffd [diff] |
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 <chenbaozi@phytium.com.cn> Reviewed-by: Simon Glass <sjg@chromium.org>