efinix_xyloni_dev_kit: Only force variant to minimal for Vexriscv.

This commit is contained in:
Florent Kermarrec 2021-10-22 14:47:12 +02:00
parent 75fd276dbe
commit 394ea23b99
1 changed files with 2 additions and 1 deletions

View File

@ -56,6 +56,7 @@ class BaseSoC(SoCCore):
kwargs["integrated_rom_size"] = 0 kwargs["integrated_rom_size"] = 0
# Set CPU variant / reset address # Set CPU variant / reset address
if kwargs.get("cpu_type", "vexriscv") == "vexriscv":
kwargs["cpu_variant"] = "minimal" kwargs["cpu_variant"] = "minimal"
kwargs["cpu_reset_address"] = self.mem_map["spiflash"] + bios_flash_offset kwargs["cpu_reset_address"] = self.mem_map["spiflash"] + bios_flash_offset