Fix DDR2 and below compilation failure
This commit is contained in:
parent
70516c40bf
commit
69eaf844e8
|
@ -24,6 +24,9 @@ class PhySettings:
|
|||
self.cl = cl
|
||||
self.read_latency = read_latency
|
||||
self.write_latency = write_latency
|
||||
if cwl is None:
|
||||
self.cwl = cl
|
||||
else:
|
||||
self.cwl = cwl
|
||||
|
||||
# Optional DDR3 electrical settings
|
||||
|
|
Loading…
Reference in New Issue