Merge pull request #1016 from antmicro/jboc/lpddr5

soc/software/liblitedram: fix max error count computation
This commit is contained in:
enjoy-digital 2021-09-01 11:16:07 +02:00 committed by GitHub
commit 315fbe18cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -300,7 +300,7 @@ static void print_scan_errors(unsigned int errors) {
#endif #endif
} }
#define READ_CHECK_TEST_PATTERN_MAX_ERRORS (8*SDRAM_PHY_PHASES*SDRAM_PHY_XDR) #define READ_CHECK_TEST_PATTERN_MAX_ERRORS (8*SDRAM_PHY_PHASES*DFII_PIX_DATA_BYTES/SDRAM_PHY_MODULES)
static unsigned int sdram_write_read_check_test_pattern(int module, unsigned int seed) { static unsigned int sdram_write_read_check_test_pattern(int module, unsigned int seed) {
int p, i; int p, i;