soc/software/bios/sdram: On ECP5 strobe dly_sel after read leveling

This commit is contained in:
Greg Davill 2020-01-25 13:11:39 +10:30
parent 52765488b5
commit f84f57d651
1 changed files with 7 additions and 0 deletions

View File

@ -943,6 +943,13 @@ int sdrlevel(void)
printf("\n"); 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; return 1;
} }
#endif #endif