litedram/init: pass write latency calibration capability to software.
This commit is contained in:
parent
a1e8bcb53c
commit
97b4029be7
|
@ -508,6 +508,7 @@ def get_sdram_phy_c_header(phy_settings, timing_settings):
|
||||||
if phytype in ["USDDRPHY", "USPDDRPHY"]:
|
if phytype in ["USDDRPHY", "USPDDRPHY"]:
|
||||||
r += "#define SDRAM_PHY_WRITE_LEVELING_REINIT\n"
|
r += "#define SDRAM_PHY_WRITE_LEVELING_REINIT\n"
|
||||||
if phytype in ["USDDRPHY", "USPDDRPHY", "A7DDRPHY", "K7DDRPHY", "V7DDRPHY", "ECP5DDRPHY"]:
|
if phytype in ["USDDRPHY", "USPDDRPHY", "A7DDRPHY", "K7DDRPHY", "V7DDRPHY", "ECP5DDRPHY"]:
|
||||||
|
r += "#define SDRAM_PHY_WRITE_LATENCY_CALIBRATION_CAPABLE\n"
|
||||||
r += "#define SDRAM_PHY_READ_LEVELING_CAPABLE\n"
|
r += "#define SDRAM_PHY_READ_LEVELING_CAPABLE\n"
|
||||||
|
|
||||||
# Define number of modules/delays/bitslips
|
# Define number of modules/delays/bitslips
|
||||||
|
|
Loading…
Reference in New Issue