bios/sdram: fix merge typo in lfsr (thanks Benjamin Herrenschmidt).

This commit is contained in:
Florent Kermarrec 2020-05-07 08:21:57 +02:00
parent 99c5b0fca1
commit 84841e1d58
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, seed); return 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, seed); return lfsr(32, prv);
prs[p][i] = prv; prs[p][i] = prv;
} }