trenz_tec0117: Avoid forcing CPU type (only force to lite variant when VexRiscv is selected=default).
This commit is contained in:
parent
8c1e6c6a02
commit
6e31d12fa9
|
@ -59,8 +59,8 @@ class BaseSoC(SoCCore):
|
|||
# Use custom default configuration to fit in LittleBee.
|
||||
kwargs["integrated_sram_size"] = 0x1000
|
||||
kwargs["integrated_rom_size"] = 0x6000
|
||||
kwargs["cpu_type"] = "vexriscv"
|
||||
kwargs["cpu_variant"] = "lite"
|
||||
if kwargs.get("cpu_type", "vexriscv") == "vexriscv":
|
||||
kwargs["cpu_variant"] = "lite"
|
||||
|
||||
# Set CPU variant / reset address
|
||||
kwargs["cpu_reset_address"] = self.mem_map["spiflash"] + bios_flash_offset
|
||||
|
|
Loading…
Reference in New Issue