diff --git a/litex/soc/software/bios/sdram.c b/litex/soc/software/bios/sdram.c index 8146228fd..61f660acb 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; }