integration/soc_core: only add IRQs from interrupt_map if SoC supports them.
This commit is contained in:
parent
42e7b8d35a
commit
d6a49e85c4
|
@ -160,6 +160,7 @@ class SoCCore(LiteXSoC):
|
|||
reset_address = None if integrated_rom_size else cpu_reset_address)
|
||||
|
||||
# Add User's interrupts
|
||||
if self.irq.enabled:
|
||||
for name, loc in self.interrupt_map.items():
|
||||
self.irq.add(name, loc)
|
||||
|
||||
|
|
Loading…
Reference in New Issue