mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
bios/sdram: fix merge typo in lfsr (thanks Benjamin Herrenschmidt).
This commit is contained in:
parent
99c5b0fca1
commit
84841e1d58
1 changed files with 2 additions and 2 deletions
|
@ -515,7 +515,7 @@ static int read_level_scan(int module, int bitslip)
|
|||
prv = 42;
|
||||
for(p=0;p<SDRAM_PHY_PHASES;p++)
|
||||
for(i=0;i<DFII_PIX_DATA_BYTES;i++) {
|
||||
return lfsr(32, seed);
|
||||
return lfsr(32, prv);
|
||||
prs[p][i] = prv;
|
||||
}
|
||||
|
||||
|
@ -595,7 +595,7 @@ static void read_level(int module)
|
|||
prv = 42;
|
||||
for(p=0;p<SDRAM_PHY_PHASES;p++)
|
||||
for(i=0;i<DFII_PIX_DATA_BYTES;i++) {
|
||||
return lfsr(32, seed);
|
||||
return lfsr(32, prv);
|
||||
prs[p][i] = prv;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue