cif : fix 2x autorefresh in get_sdram_phy_header
This commit is contained in:
parent
379a48bb31
commit
3d899f04fd
|
@ -140,6 +140,7 @@ static void command_p{n}(int cmd)
|
||||||
("Load Mode Register / Reset DLL, CL={0:d}, BL={1:d}".format(cl, bl), mr + reset_dll, 0, cmds["MODE_REGISTER"], 200),
|
("Load Mode Register / Reset DLL, CL={0:d}, BL={1:d}".format(cl, bl), mr + reset_dll, 0, cmds["MODE_REGISTER"], 200),
|
||||||
("Precharge All", 0x0400, 0, cmds["PRECHARGE_ALL"], 0),
|
("Precharge All", 0x0400, 0, cmds["PRECHARGE_ALL"], 0),
|
||||||
("Auto Refresh", 0x0, 0, cmds["AUTO_REFRESH"], 4),
|
("Auto Refresh", 0x0, 0, cmds["AUTO_REFRESH"], 4),
|
||||||
|
("Auto Refresh", 0x0, 0, cmds["AUTO_REFRESH"], 4),
|
||||||
("Load Mode Register / CL={0:d}, BL={1:d}".format(cl, bl), mr, 0, cmds["MODE_REGISTER"], 200)
|
("Load Mode Register / CL={0:d}, BL={1:d}".format(cl, bl), mr, 0, cmds["MODE_REGISTER"], 200)
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -156,6 +157,7 @@ static void command_p{n}(int cmd)
|
||||||
("Load Mode Register / Reset DLL, CL={0:d}, BL={1:d}".format(cl, bl), mr + reset_dll, 0, cmds["MODE_REGISTER"], 200),
|
("Load Mode Register / Reset DLL, CL={0:d}, BL={1:d}".format(cl, bl), mr + reset_dll, 0, cmds["MODE_REGISTER"], 200),
|
||||||
("Precharge All", 0x0400, 0, cmds["PRECHARGE_ALL"], 0),
|
("Precharge All", 0x0400, 0, cmds["PRECHARGE_ALL"], 0),
|
||||||
("Auto Refresh", 0x0, 0, cmds["AUTO_REFRESH"], 4),
|
("Auto Refresh", 0x0, 0, cmds["AUTO_REFRESH"], 4),
|
||||||
|
("Auto Refresh", 0x0, 0, cmds["AUTO_REFRESH"], 4),
|
||||||
("Load Mode Register / CL={0:d}, BL={1:d}".format(cl, bl), mr, 0, cmds["MODE_REGISTER"], 200)
|
("Load Mode Register / CL={0:d}, BL={1:d}".format(cl, bl), mr, 0, cmds["MODE_REGISTER"], 200)
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -172,6 +174,7 @@ static void command_p{n}(int cmd)
|
||||||
("Load Mode Register / Reset DLL, CL={0:d}, BL={1:d}".format(cl, bl), mr + reset_dll, 0, cmds["MODE_REGISTER"], 200),
|
("Load Mode Register / Reset DLL, CL={0:d}, BL={1:d}".format(cl, bl), mr + reset_dll, 0, cmds["MODE_REGISTER"], 200),
|
||||||
("Precharge All", 0x0400, 0, cmds["PRECHARGE_ALL"], 0),
|
("Precharge All", 0x0400, 0, cmds["PRECHARGE_ALL"], 0),
|
||||||
("Auto Refresh", 0x0, 0, cmds["AUTO_REFRESH"], 4),
|
("Auto Refresh", 0x0, 0, cmds["AUTO_REFRESH"], 4),
|
||||||
|
("Auto Refresh", 0x0, 0, cmds["AUTO_REFRESH"], 4),
|
||||||
("Load Mode Register / CL={0:d}, BL={1:d}".format(cl, bl), mr, 0, cmds["MODE_REGISTER"], 200)
|
("Load Mode Register / CL={0:d}, BL={1:d}".format(cl, bl), mr, 0, cmds["MODE_REGISTER"], 200)
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -188,6 +191,7 @@ static void command_p{n}(int cmd)
|
||||||
("Load Mode Register / Reset DLL, CL={0:d}, BL={1:d}".format(cl, bl), mr + reset_dll, 0, cmds["MODE_REGISTER"], 200),
|
("Load Mode Register / Reset DLL, CL={0:d}, BL={1:d}".format(cl, bl), mr + reset_dll, 0, cmds["MODE_REGISTER"], 200),
|
||||||
("Precharge All", 0x0400, 0, cmds["PRECHARGE_ALL"], 0),
|
("Precharge All", 0x0400, 0, cmds["PRECHARGE_ALL"], 0),
|
||||||
("Auto Refresh", 0x0, 0, cmds["AUTO_REFRESH"], 4),
|
("Auto Refresh", 0x0, 0, cmds["AUTO_REFRESH"], 4),
|
||||||
|
("Auto Refresh", 0x0, 0, cmds["AUTO_REFRESH"], 4),
|
||||||
("Load Mode Register / CL={0:d}, BL={1:d}".format(cl, bl), mr, 0, cmds["MODE_REGISTER"], 200)
|
("Load Mode Register / CL={0:d}, BL={1:d}".format(cl, bl), mr, 0, cmds["MODE_REGISTER"], 200)
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue