Correct tCL detection on SDRAM

This commit is contained in:
Sam Demeulemeester 2022-05-19 17:16:13 +02:00
parent 076e133415
commit c2d033b4b4
1 changed files with 1 additions and 1 deletions

View File

@ -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);
for (int shft = 0; shft < 7; shft++) {
if ((spd_byte18 >> shft) & 1) {
spdi.tCL = shft;
spdi.tCL = shft + 1;
break;
}
}