soc/integration/soc_sdram: always generate L2_SIZE constant
This commit is contained in:
parent
4e451a78d6
commit
80d673e502
|
@ -68,7 +68,6 @@ class SoCSDRAM(SoCCore):
|
||||||
geom_settings.colbits)*sdram_width//8
|
geom_settings.colbits)*sdram_width//8
|
||||||
# XXX: Limit main_ram_size to 256MB, we should modify mem_map to allow larger memories.
|
# XXX: Limit main_ram_size to 256MB, we should modify mem_map to allow larger memories.
|
||||||
main_ram_size = min(main_ram_size, 256*1024*1024)
|
main_ram_size = min(main_ram_size, 256*1024*1024)
|
||||||
if self.l2_size:
|
|
||||||
self.add_constant("L2_SIZE", self.l2_size)
|
self.add_constant("L2_SIZE", self.l2_size)
|
||||||
|
|
||||||
# add a Wishbone interface to the DRAM
|
# add a Wishbone interface to the DRAM
|
||||||
|
|
Loading…
Reference in New Issue