mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
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:
parent
8085cc3c97
commit
d3560e5772
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue