soc/intergration/soc_core: don't delete uart/timer0 interrupts
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Mon, 30 Apr 2018 22:46:26 +0000 (00:46 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Mon, 30 Apr 2018 22:46:26 +0000 (00:46 +0200)
litex/soc/integration/soc_core.py

index 5ef85397ef1099723a7eef7f3d64224137228d45..c439f55d1b21ea702a9a198817a5b90a0e8f8339 100644 (file)
@@ -146,8 +146,8 @@ class SoCCore(Module):
             else:
                 self.submodules.uart_phy = uart.RS232PHY(platform.request(uart_name), clk_freq, uart_baudrate)
                 self.submodules.uart = uart.UART(self.uart_phy)
-        else:
-            del self.soc_interrupt_map["uart"]
+        #else:
+        #    del self.soc_interrupt_map["uart"]
 
         if ident:
             if ident_version:
@@ -158,8 +158,8 @@ class SoCCore(Module):
 
         if with_timer:
             self.submodules.timer0 = timer.Timer()
-        else:
-            del self.soc_interrupt_map["timer0"]
+        #else:
+        #    del self.soc_interrupt_map["timer0"]
 
         # Invert the interrupt map.
         interrupt_rmap = {}