projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5276548
)
soc/software/bios/sdram: On ECP5 strobe dly_sel after read leveling
author
Greg Davill
<greg.davill@gmail.com>
Sat, 25 Jan 2020 02:41:39 +0000
(13:11 +1030)
committer
Greg Davill
<greg.davill@gmail.com>
Sat, 25 Jan 2020 02:41:39 +0000
(13:11 +1030)
litex/soc/software/bios/sdram.c
patch
|
blob
|
history
diff --git
a/litex/soc/software/bios/sdram.c
b/litex/soc/software/bios/sdram.c
index f7d8458c8e0eef89ca868687653a02228891967a..15d5e1e9fa6522847ac15f24fb9f51fce6aefbc7 100644
(file)
--- a/
litex/soc/software/bios/sdram.c
+++ b/
litex/soc/software/bios/sdram.c
@@
-943,6
+943,13
@@
int sdrlevel(void)
printf("\n");
}
+#ifdef ECP5DDRPHY
+ /* Toggle all dly_sel lines.
+ * Which toggles all DQSBUFM.PAUSE lines, this ensures they're using the correct delays. */
+ ddrphy_dly_sel_write(0xFF);
+ ddrphy_dly_sel_write(0);
+#endif
+
return 1;
}
#endif