Enable Flash boot option in Kestrel BIOS

parent 2c9505ec
...@@ -417,6 +417,12 @@ def main(): ...@@ -417,6 +417,12 @@ def main():
) )
builder = Builder(soc, **builder_argdict(args)) builder = Builder(soc, **builder_argdict(args))
# Flash boot setup
flash_boot_adr = soc.mem_map["bmcspiflash"] + 0x800000
soc.add_constant("FLASH_BOOT_ADDRESS", flash_boot_adr)
soc.set_gateware_dir(builder.gateware_dir) soc.set_gateware_dir(builder.gateware_dir)
builder_kargs = trellis_argdict(args) if args.toolchain == "trellis" else {} builder_kargs = trellis_argdict(args) if args.toolchain == "trellis" else {}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment