diff options
author | Chen Baozi <chenbaozi@phytium.com.cn> | 2021-07-21 09:11:26 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-07-24 15:57:53 +0300 |
commit | 91a043896dfb8544db00496bee08bcf59e449dc9 (patch) | |
tree | e84e326d3b8553b10bc3e6b9df655a8b17d06429 /cmd/pwm.c | |
parent | bc7b38450baa4efe71bb14ea8aab9e8d206073fd (diff) | |
download | u-boot-91a043896dfb8544db00496bee08bcf59e449dc9.tar.xz |
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>
Diffstat (limited to 'cmd/pwm.c')
0 files changed, 0 insertions, 0 deletions