bios/sdram: mode sdhw()
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Thu, 13 Sep 2018 04:33:54 +0000 (06:33 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Thu, 13 Sep 2018 04:33:54 +0000 (06:33 +0200)
litex/soc/software/bios/sdram.c

index 61f660acb07dc16d6296d8600163edaf1c328840..443245ee70f9fca24307d56cbc1a354bc4d4b754 100644 (file)
@@ -780,8 +780,6 @@ int sdrlevel(int silent)
     read_level_scan(0);
        read_level();
 
-       sdrhw();
-
        return 1;
 }
 #endif
@@ -800,6 +798,7 @@ int sdrinit(void)
        ddrphy_en_vtc_write(1);
 #endif
 #endif
+       sdrhw();
        if(!memtest()) {
 #ifdef CSR_DDRPHY_BASE
                /* show scans */