diff --git a/litex/soc/software/bios/sdram.c b/litex/soc/software/bios/sdram.c index 0af3e4fc6..ecf5fe5a1 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);