soc_core: Fix region type generation
Include information about being a linker region.
This commit is contained in:
parent
d44fe18bd9
commit
77a05b78e8
|
@ -244,6 +244,8 @@ class SoCCore(LiteXSoC):
|
|||
for region in self.bus.regions.values():
|
||||
region.length = region.size
|
||||
region.type = "cached" if region.cached else "io"
|
||||
if region.linker:
|
||||
region.type += "+linker"
|
||||
self.csr_regions = self.csr.regions
|
||||
for name, value in self.config.items():
|
||||
self.add_config(name, value)
|
||||
|
|
Loading…
Reference in New Issue