From: Florent Kermarrec Date: Thu, 13 Sep 2018 04:30:37 +0000 (+0200) Subject: bios/sdram: add missing #ifdef X-Git-Tag: 24jan2021_ls180~1613 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a44bedd5579c6b4f5c157bd7c3236b8d990ca3af;p=litex.git bios/sdram: add missing #ifdef --- diff --git a/litex/soc/software/bios/sdram.c b/litex/soc/software/bios/sdram.c index 8146228f..61f660ac 100644 --- a/litex/soc/software/bios/sdram.c +++ b/litex/soc/software/bios/sdram.c @@ -801,8 +801,10 @@ int sdrinit(void) #endif #endif if(!memtest()) { +#ifdef CSR_DDRPHY_BASE /* show scans */ sdrlevel(0); +#endif return 0; }