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
|
@ -352,7 +352,7 @@ static unsigned int sdram_write_read_check_test_pattern(int module, unsigned int
|
||||||
|
|
||||||
#ifdef SDRAM_PHY_ECP5DDRPHY
|
#ifdef SDRAM_PHY_ECP5DDRPHY
|
||||||
if (((ddrphy_burstdet_seen_read() >> module) & 0x1) != 1)
|
if (((ddrphy_burstdet_seen_read() >> module) & 0x1) != 1)
|
||||||
return 0;
|
errors += 1;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return errors;
|
return errors;
|
||||||
|
|
Loading…
Reference in New Issue