Merge pull request #49 from mithro/fix-uart-override
soc_core: Don't fail if name is the same.
This commit is contained in:
commit
ab1146e1b0
|
@ -171,7 +171,7 @@ class SoCCore(Module):
|
||||||
|
|
||||||
# Add the base SoC's interrupt map
|
# Add the base SoC's interrupt map
|
||||||
for mod_name, interrupt in self.soc_interrupt_map.items():
|
for mod_name, interrupt in self.soc_interrupt_map.items():
|
||||||
assert interrupt not in interrupt_rmap, (
|
assert interrupt not in interrupt_rmap or mod_name == interrupt_rmap[interrupt], (
|
||||||
"Interrupt vector conflict for IRQ %s, user defined %s conflicts with SoC inbuilt %s" % (
|
"Interrupt vector conflict for IRQ %s, user defined %s conflicts with SoC inbuilt %s" % (
|
||||||
interrupt, mod_name, interrupt_rmap[interrupt]))
|
interrupt, mod_name, interrupt_rmap[interrupt]))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue