Merge pull request #1017 from asadaleem-rs/master
customize main ram size from command line argument
This commit is contained in:
commit
1598b5958d
|
@ -325,7 +325,8 @@ def main():
|
||||||
if args.rom_init:
|
if args.rom_init:
|
||||||
soc_kwargs["integrated_rom_init"] = get_mem_data(args.rom_init, cpu.endianness)
|
soc_kwargs["integrated_rom_init"] = get_mem_data(args.rom_init, cpu.endianness)
|
||||||
if not args.with_sdram:
|
if not args.with_sdram:
|
||||||
soc_kwargs["integrated_main_ram_size"] = 0x10000000 # 256 MB
|
#configure main ram size from command line argument
|
||||||
|
soc_kwargs["integrated_main_ram_size"] = args.integrated_main_ram_size
|
||||||
if args.ram_init is not None:
|
if args.ram_init is not None:
|
||||||
soc_kwargs["integrated_main_ram_init"] = get_mem_data(args.ram_init, cpu.endianness)
|
soc_kwargs["integrated_main_ram_init"] = get_mem_data(args.ram_init, cpu.endianness)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue