software/liblitedram: revert sdrsw() in sdrlevel: this is still required for sdrlevel...
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 2 Jun 2020 14:14:53 +0000 (16:14 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 2 Jun 2020 14:14:53 +0000 (16:14 +0200)
litex/soc/software/liblitedram/sdram.c

index 5c02a801283b786fcc8a7a745606d962156aa6de..3d35d1b40e2666dd81b5a6f90e0dfc370e123324 100644 (file)
@@ -996,6 +996,7 @@ int _write_level_cdly_scan = 1;
 int sdrlevel(void)
 {
        int module;
+       sdrsw();
 
        for(module=0; module<SDRAM_PHY_MODULES; module++) {
 #ifdef SDRAM_PHY_WRITE_LEVELING_CAPABLE