From a44bedd5579c6b4f5c157bd7c3236b8d990ca3af Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 13 Sep 2018 06:30:37 +0200 Subject: [PATCH] bios/sdram: add missing #ifdef --- 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 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; } -- 2.30.2