mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-09-23 16:11:54 +00:00
Correct SPL use of DEBUG_UART_ZYNQ
This converts 1 usage of this option to the non-SPL form, since there is no SPL_DEBUG_UART_ZYNQ defined in Kconfig Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
7c31107249
commit
43512276da
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ static void _uart_zynq_serial_init(struct uart_zynq *regs)
|
|||
|
||||
static int _uart_zynq_serial_putc(struct uart_zynq *regs, const char c)
|
||||
{
|
||||
if (CONFIG_IS_ENABLED(DEBUG_UART_ZYNQ)) {
|
||||
if (IS_ENABLED(CONFIG_DEBUG_UART_ZYNQ)) {
|
||||
if (!(readl(®s->channel_sts) & ZYNQ_UART_SR_TXEMPTY))
|
||||
return -EAGAIN;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue