bios/sdram: fix compilation with no write leveling
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Fri, 6 Jul 2018 14:22:49 +0000 (16:22 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Fri, 6 Jul 2018 14:22:49 +0000 (16:22 +0200)
litex/soc/software/bios/sdram.c

index cd1894243a1da64f14f6c73963e0e15ae75b2ab4..9b9a900d53200d0d2b9fa6bf5179a8e86ed499fb 100644 (file)
@@ -751,7 +751,6 @@ int sdrlevel(void) /* automatic */
        int i;
 
 #ifndef CSR_DDRPHY_WLEVEL_EN_ADDR
-       int i;
        for(i=0; i<DFII_PIX_DATA_SIZE/2; i++) {
                delay[i] = 0;
                high_skew[i] = 0;