From bc7ab637dd67b90a5445eee39b0160390b399752 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 25 Jul 2019 07:46:14 +0200 Subject: [PATCH] bios/sdram: fix compilation warning --- litex/soc/software/bios/sdram.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.30.2