diff --git a/litex/soc/software/liblitedram/sdram.c b/litex/soc/software/liblitedram/sdram.c index b1b10aedd..1aa882d50 100644 --- a/litex/soc/software/liblitedram/sdram.c +++ b/litex/soc/software/liblitedram/sdram.c @@ -1075,22 +1075,16 @@ static void sdram_read_leveling_best_bitslip(int module) static void sdram_write_dq_dqs_training(void) { - /* In the first iteration read leveling and DQ-DQS training may not be done optimally */ - const int n_iter = 2; int i; - int show; int module; - for (i = 0; i < n_iter; ++i) { - show = i == n_iter - 1; - for(module=0; module