init: fix python header generation

With the previous code lines included python variable names instead of integers, e.g.
("ZQ Calibration start", MPC.ZQC_START, SpecialCmd.MPC, dfii_command_we|dfii_command_cs, 200)
which failed as these names were not being imported.
This commit is contained in:
Jędrzej Boczar 2021-03-31 15:58:43 +02:00
parent 996d0add26
commit c12e832bcb
1 changed files with 1 additions and 7 deletions

View File

@ -827,12 +827,6 @@ def get_sdram_phy_py_header(phy_settings, timing_settings):
r += "init_sequence = [\n"
for comment, a, ba, cmd, delay in init_sequence:
r += " "
r += "(\"" + comment + "\", "
r += str(a) + ", "
r += str(ba) + ", "
r += cmd.lower() + ", "
r += str(delay) + "),"
r += "\n"
r += f" (\"{comment}\", {a}, {ba}, {cmd.lower()}, {delay}),\n"
r += "]\n"
return r