diff --git a/litex/soc/software/bios/sdram.c b/litex/soc/software/bios/sdram.c index 61f660acb..443245ee7 100644 --- a/litex/soc/software/bios/sdram.c +++ b/litex/soc/software/bios/sdram.c @@ -780,8 +780,6 @@ int sdrlevel(int silent) read_level_scan(0); read_level(); - sdrhw(); - return 1; } #endif @@ -800,6 +798,7 @@ int sdrinit(void) ddrphy_en_vtc_write(1); #endif #endif + sdrhw(); if(!memtest()) { #ifdef CSR_DDRPHY_BASE /* show scans */