From 7a86ee50fd47c4cf8bc852b95ab81785948bd1f1 Mon Sep 17 00:00:00 2001 From: Jordan Yates Date: Thu, 7 Apr 2022 20:33:03 +1000 Subject: [PATCH] serial: litex: remove irrational dependency Depending on `!SERIAL_SUPPORT_INTERRUPT` to enable the driver does not make any sense, as this is a symbol selected by drivers to signify that they support interrupts. Simply not selecting this symbol is enough to convey the desired intention. This fixes Kconfig problems when the driver is compiled together with a dummy serial driver which does select `SERIAL_SUPPORT_INTERRUPT`. Signed-off-by: Jordan Yates --- drivers/serial/Kconfig.litex | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/serial/Kconfig.litex b/drivers/serial/Kconfig.litex index 15ae294de18..0581d0ea38b 100644 --- a/drivers/serial/Kconfig.litex +++ b/drivers/serial/Kconfig.litex @@ -6,8 +6,6 @@ config UART_LITEUART bool "LiteUART serial driver" depends on SOC_RISCV32_LITEX_VEXRISCV - # currently not supporting interrupts due to a bug in LiteUART Tx IRQ - depends on !SERIAL_SUPPORT_INTERRUPT select SERIAL_HAS_DRIVER help This option enables LiteUART serial driver.