bios/sdram: fix merge typo in lfsr (thanks Benjamin Herrenschmidt).
This commit is contained in:
parent
99c5b0fca1
commit
84841e1d58
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue