bios/sdram: add missing #ifdef

This commit is contained in:
Florent Kermarrec 2018-09-13 06:30:37 +02:00
parent 0e68daebf3
commit a44bedd557
1 changed files with 2 additions and 0 deletions

View File

@ -801,8 +801,10 @@ int sdrinit(void)
#endif #endif
#endif #endif
if(!memtest()) { if(!memtest()) {
#ifdef CSR_DDRPHY_BASE
/* show scans */ /* show scans */
sdrlevel(0); sdrlevel(0);
#endif
return 0; return 0;
} }