From: Florent Kermarrec Date: Thu, 25 Jul 2019 05:46:14 +0000 (+0200) Subject: bios/sdram: fix compilation warning X-Git-Tag: 24jan2021_ls180~1079 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bc7ab637dd67b90a5445eee39b0160390b399752;p=litex.git bios/sdram: fix compilation warning --- diff --git a/litex/soc/software/bios/sdram.c b/litex/soc/software/bios/sdram.c index 0af3e4fc..ecf5fe5a 100644 --- a/litex/soc/software/bios/sdram.c +++ b/litex/soc/software/bios/sdram.c @@ -255,7 +255,9 @@ void sdrwloff(void) } static void write_delay_rst(int module) { +#ifdef USDDRPHY int i; +#endif /* sel module */ ddrphy_dly_sel_write(1 << module);