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 <jordan.yates@data61.csiro.au>
This commit is contained in:
Jordan Yates 2022-04-07 20:33:03 +10:00 committed by Carles Cufí
commit 7a86ee50fd

View file

@ -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.