mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
soc_sdram: don't generate sdram initialization error message when integrated_main_ram is used
This commit is contained in:
parent
f51ad43607
commit
aabf042d38
1 changed files with 3 additions and 2 deletions
|
@ -41,6 +41,7 @@ class SoCSDRAM(SoCCore):
|
|||
|
||||
def __init__(self, platform, clk_freq, l2_size=8192, **kwargs):
|
||||
SoCCore.__init__(self, platform, clk_freq, **kwargs)
|
||||
if not self.integrated_main_ram_size:
|
||||
if self.cpu_type is not None and self.csr_data_width != 8:
|
||||
raise NotImplementedError("BIOS supports SDRAM initialization only for csr_data_width=8")
|
||||
self.l2_size = l2_size
|
||||
|
|
Loading…
Reference in a new issue