bios/sdram: fix lfsr typo.

This commit is contained in:
Florent Kermarrec 2020-05-07 12:11:59 +02:00
parent 162d32603d
commit 79ee135f56
1 changed files with 2 additions and 2 deletions

View File

@ -515,7 +515,7 @@ static int read_level_scan(int module, int bitslip)
prv = 42; prv = 42;
for(p=0;p<SDRAM_PHY_PHASES;p++) for(p=0;p<SDRAM_PHY_PHASES;p++)
for(i=0;i<DFII_PIX_DATA_BYTES;i++) { for(i=0;i<DFII_PIX_DATA_BYTES;i++) {
return lfsr(32, prv); prv = lfsr(32, prv);
prs[p][i] = prv; prs[p][i] = prv;
} }
@ -595,7 +595,7 @@ static void read_level(int module)
prv = 42; prv = 42;
for(p=0;p<SDRAM_PHY_PHASES;p++) for(p=0;p<SDRAM_PHY_PHASES;p++)
for(i=0;i<DFII_PIX_DATA_BYTES;i++) { for(i=0;i<DFII_PIX_DATA_BYTES;i++) {
return lfsr(32, prv); prv = lfsr(32, prv);
prs[p][i] = prv; prs[p][i] = prv;
} }