While the spec only mentions bits for CL5->CL2 with the other
bits being marked 'TBD' it seems likely they are used now.
From David Vasek.
-/* $OpenBSD: spdmem.c,v 1.4 2015/01/19 18:38:41 miod Exp $ */
+/* $OpenBSD: spdmem.c,v 1.5 2015/01/25 11:38:49 jsg Exp $ */
/* $NetBSD: spdmem.c,v 1.3 2007/09/20 23:09:59 xtraeme Exp $ */
/*
}
/* Print CAS latency */
- for (i = 5; i >= 2; i--) {
- if (s->sm_data[SPDMEM_DDR_CAS] & (i << i)) {
+ for (i = 7; i >= 2; i--) {
+ if (s->sm_data[SPDMEM_DDR_CAS] & (1 << i)) {
printf("CL%d", i);
break;
}