tools/litex_sim: Fix missing update in ram_init.
This commit is contained in:
parent
5760c5ba1e
commit
a39e2c836a
|
@ -490,7 +490,7 @@ def main():
|
||||||
**soc_kwargs)
|
**soc_kwargs)
|
||||||
if ram_boot_address is not None:
|
if ram_boot_address is not None:
|
||||||
if ram_boot_address == 0:
|
if ram_boot_address == 0:
|
||||||
ram_boot_address = ram_boot_offset
|
ram_boot_address = conf_soc.mem_map["main_ram"]
|
||||||
soc.add_constant("ROM_BOOT_ADDRESS", ram_boot_address)
|
soc.add_constant("ROM_BOOT_ADDRESS", ram_boot_address)
|
||||||
if args.with_ethernet:
|
if args.with_ethernet:
|
||||||
for i in range(4):
|
for i in range(4):
|
||||||
|
|
Loading…
Reference in New Issue