liblitedram/sdram.c: Update sdram_write_read_check_test_pattern with SDRAM_PHY_ECP5DDRPHY.

The return value has been changed and also required to be update for SDRAM_PHY_ECP5DDRPHY.
This commit is contained in:
Florent Kermarrec 2021-05-25 10:28:56 +02:00
parent 8085cc3c97
commit d3560e5772
1 changed files with 1 additions and 1 deletions

View File

@ -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;