From: Florent Kermarrec Date: Fri, 6 Jul 2018 14:22:49 +0000 (+0200) Subject: bios/sdram: fix compilation with no write leveling X-Git-Tag: 24jan2021_ls180~1680 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c84e189d6a742267f37dc1154d1f65e412db7fc8;p=litex.git bios/sdram: fix compilation with no write leveling --- diff --git a/litex/soc/software/bios/sdram.c b/litex/soc/software/bios/sdram.c index cd189424..9b9a900d 100644 --- a/litex/soc/software/bios/sdram.c +++ b/litex/soc/software/bios/sdram.c @@ -751,7 +751,6 @@ int sdrlevel(void) /* automatic */ int i; #ifndef CSR_DDRPHY_WLEVEL_EN_ADDR - int i; for(i=0; i