integration/export/get_memory_x: Replace spi_flash with rom.
Even when ROM is stored in SPI Flash, ROM regions has to be created.
This commit is contained in:
parent
bc6ce4b04b
commit
7388684232
|
@ -603,8 +603,8 @@ def get_csr_svd(soc, vendor="litex", name="soc", description=None):
|
|||
def get_memory_x(soc):
|
||||
r = get_linker_regions(soc.mem_regions)
|
||||
r += '\n'
|
||||
r += 'REGION_ALIAS("REGION_TEXT", spiflash);\n'
|
||||
r += 'REGION_ALIAS("REGION_RODATA", spiflash);\n'
|
||||
r += 'REGION_ALIAS("REGION_TEXT", rom);\n'
|
||||
r += 'REGION_ALIAS("REGION_RODATA", rom);\n'
|
||||
r += 'REGION_ALIAS("REGION_DATA", sram);\n'
|
||||
r += 'REGION_ALIAS("REGION_BSS", sram);\n'
|
||||
r += 'REGION_ALIAS("REGION_HEAP", sram);\n'
|
||||
|
|
Loading…
Reference in New Issue