soc/intregation: fix cpu name in logging
Fixed CPU name being reported as irq name in logging. ``` INFO:SoC:CPU vexriscv_smp adding Interrupt(s). INFO:SoCIRQHandler:noirq IRQ added at Location 0. INFO:SoC:CPU noirq adding DMA Bus. INFO:SoCDMABusHandler:Creating Bus Handler... ```
This commit is contained in:
parent
57faa9102f
commit
48ab96fd43
|
@ -1113,8 +1113,8 @@ class SoC(LiteXModule, SoCCoreCompat):
|
|||
self.irq.enable()
|
||||
if hasattr(self.cpu, "reserved_interrupts"):
|
||||
self.cpu.interrupts.update(self.cpu.reserved_interrupts)
|
||||
for name, loc in self.cpu.interrupts.items():
|
||||
self.irq.add(name, loc)
|
||||
for irq_name, loc in self.cpu.interrupts.items():
|
||||
self.irq.add(irq_name, loc)
|
||||
self.add_config("CPU_HAS_INTERRUPT")
|
||||
|
||||
# Create optional DMA Bus (for Cache Coherence).
|
||||
|
|
Loading…
Reference in New Issue