soc_core: remove add_cpu_or_bridge retro-compatibility (most of the designs have been updated since the change)

This commit is contained in:
Florent Kermarrec 2019-09-28 19:01:41 +02:00
parent 8dd2dc1ce8
commit 9095b80e89
1 changed files with 0 additions and 5 deletions

View File

@ -338,11 +338,6 @@ class SoCCore(Module):
raise NotImplementedError("More than one CPU is not supported")
self.submodules.cpu = cpu
def add_cpu_or_bridge(self, cpu_or_bridge):
deprecated_warning("SoCCore's \"add_cpu_or_bridge\" call to \"add_cpu\"")
self.add_cpu(cpu_or_bridge)
self.cpu_or_bridge = self.cpu
def add_interrupt(self, interrupt_name, interrupt_id=None, allow_user_defined=False):
# Check that interrupt_name is not already used
if interrupt_name in self.soc_interrupt_map.keys():