litedram_gen: set min_l2_data_width to 0 (l2_data_width will use controller's data_width)

This commit is contained in:
Florent Kermarrec 2020-01-20 19:15:43 +01:00
parent cee3a43685
commit ba9134a9a8
1 changed files with 3 additions and 3 deletions

View File

@ -274,14 +274,14 @@ class LiteDRAMCore(SoCSDRAM):
kwargs["integrated_rom_size"] = 0
kwargs["integrated_sram_size"] = 0
kwargs["l2_size"] = 0
kwargs["l2_data_width"] = 32
kwargs["min_l2_data_width"] = 0
kwargs["with_uart"] = False
kwargs["with_timer"] = False
kwargs["with_ctrl"] = False
kwargs["with_wishbone"] = (cpu_type != None)
else:
kwargs["l2_size"] = 0
kwargs["l2_data_width"] = 32
kwargs["l2_size"] = 0
kwargs["min_l2_data_width"] = 0
# SoCSDRAM ---------------------------------------------------------------------------------
SoCSDRAM.__init__(self, platform, sys_clk_freq,