soc_core: Don't fail if name is the same.
authorTim 'mithro' Ansell <me@mith.ro>
Sat, 13 Jan 2018 08:10:57 +0000 (19:10 +1100)
committerTim 'mithro' Ansell <me@mith.ro>
Sat, 13 Jan 2018 08:10:57 +0000 (19:10 +1100)
commit3d40ad0a82d0e5d7360f641b98e6bf74dc56a026
tree8cfb9abb48b13e8a66bf60237dba8aa7778748c5
parentbebaef1e255417ca5008101f16aad181b84b70e7
soc_core: Don't fail if name is the same.

Otherwise you can't override the UART with another UART, you get an
error like;

```
  File "/home/tansell/github/timvideos/HDMI2USB-litex-firmware/third_party/litex/litex/soc/integration/soc_core.py", line 176, in __init__
    interrupt, mod_name, interrupt_rmap[interrupt]))
AssertionError: Interrupt vector conflict for IRQ 2, user defined uart conflicts with SoC inbuilt uart
```
litex/soc/integration/soc_core.py