soc: Drive uart1_irq to 0 when we don't have UART1
authorPaul Mackerras <paulus@ozlabs.org>
Thu, 17 Dec 2020 01:15:31 +0000 (12:15 +1100)
committerPaul Mackerras <paulus@ozlabs.org>
Thu, 17 Dec 2020 01:18:46 +0000 (12:18 +1100)
The tools complain about uart1_irq not being driven and not having a
default when HAS_UART1 is false.  This sets it to 0 in that case.

Fixes: 7575b1e0c2b1 ("uart: Import and hook up opencore 16550 compatible UART")
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
soc.vhdl

index 7ab146f39410fd7ee0b514a35c59ec9df5ef86cf..e4a7895b716b2686921d49437689cca7235d6a65 100644 (file)
--- a/soc.vhdl
+++ b/soc.vhdl
@@ -754,6 +754,7 @@ begin
        wb_uart1_out.dat <= x"00000000";
        wb_uart1_out.ack <= wb_uart1_in.cyc and wb_uart1_in.stb;
        wb_uart1_out.stall <= '0';
+        uart1_irq <= '0';
     end generate;
 
     spiflash_gen: if HAS_SPI_FLASH generate