integration/builder: Switch to SoC.init_rom directly and remove initialize_rom that is no longer used.
This commit is contained in:
parent
175aab73a8
commit
ca04858b39
|
@ -331,7 +331,7 @@ class Builder:
|
|||
)
|
||||
|
||||
# Initialize SoC with with BIOS data.
|
||||
self.soc.initialize_rom(bios_data)
|
||||
self.soc.init_rom(name="rom", contents=bios_data)
|
||||
|
||||
def build(self, **kwargs):
|
||||
# Pass Output Directory to Platform.
|
||||
|
|
|
@ -271,9 +271,6 @@ class SoCCore(LiteXSoC):
|
|||
def add_csr(self, csr_name, csr_id=None, use_loc_if_exists=False):
|
||||
self.csr.add(csr_name, csr_id, use_loc_if_exists=use_loc_if_exists)
|
||||
|
||||
def initialize_rom(self, data):
|
||||
self.init_rom(name="rom", contents=data)
|
||||
|
||||
def add_memory_region(self, name, origin, length, type="cached"):
|
||||
self.bus.add_region(name, SoCRegion(origin=origin, size=length,
|
||||
cached="cached" in type,
|
||||
|
|
Loading…
Reference in New Issue