diff --git a/litex/soc/software/liblitedram/sdram.c b/litex/soc/software/liblitedram/sdram.c index 80884b149..e387d18bf 100644 --- a/litex/soc/software/liblitedram/sdram.c +++ b/litex/soc/software/liblitedram/sdram.c @@ -352,7 +352,7 @@ static unsigned int sdram_write_read_check_test_pattern(int module, unsigned int #ifdef SDRAM_PHY_ECP5DDRPHY if (((ddrphy_burstdet_seen_read() >> module) & 0x1) != 1) - return 0; + errors += 1; #endif return errors;