Correct SPL use of DEBUG_UART_ZYNQ
authorSimon Glass <sjg@chromium.org>
Sun, 5 Feb 2023 22:39:32 +0000 (15:39 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 9 Feb 2023 21:32:26 +0000 (16:32 -0500)
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>
drivers/serial/serial_zynq.c

index 4b18183..9bb9b7d 100644 (file)
@@ -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(&regs->channel_sts) & ZYNQ_UART_SR_TXEMPTY))
                        return -EAGAIN;
        } else {