Correct tCL detection on SDRAM
This commit is contained in:
parent
076e133415
commit
c2d033b4b4
|
@ -1135,7 +1135,7 @@ static spd_info parse_spd_sdram(uint8_t smb_idx, uint8_t slot_idx)
|
||||||
uint8_t spd_byte18 = get_spd(smb_idx, slot_idx, 18);
|
uint8_t spd_byte18 = get_spd(smb_idx, slot_idx, 18);
|
||||||
for (int shft = 0; shft < 7; shft++) {
|
for (int shft = 0; shft < 7; shft++) {
|
||||||
if ((spd_byte18 >> shft) & 1) {
|
if ((spd_byte18 >> shft) & 1) {
|
||||||
spdi.tCL = shft;
|
spdi.tCL = shft + 1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue