util/intelp2m: Print the current project version
[coreboot2.git] / src / northbridge / intel / ironlake / raminit_tables.c
blob8dacc59ba08a7288795ea8ce2b604e53d99a01e2
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 #include "raminit_tables.h"
5 /* [CHANNEL][EXT_REVISON][LANE][2*SLOT+RANK][CLOCK_SPEED] */
6 const u8 u8_FFFD1240[2][5][9][4][4] = {
10 {0x3b, 0x53, 0x57, 0x5c},
11 {0x3b, 0x52, 0x57, 0x5c},
12 {0x3b, 0x4d, 0x51, 0x54},
13 {0x3b, 0x4d, 0x51, 0x54}
16 {0x46, 0x63, 0x6b, 0x74},
17 {0x46, 0x62, 0x6b, 0x73},
18 {0x46, 0x5d, 0x65, 0x6c},
19 {0x46, 0x5d, 0x65, 0x6c}
22 {0x51, 0x71, 0x7e, 0x8a},
23 {0x51, 0x71, 0x7d, 0x8a},
24 {0x51, 0x6c, 0x77, 0x82},
25 {0x51, 0x6c, 0x77, 0x82}
28 {0x5c, 0x7b, 0x8a, 0x99},
29 {0x5c, 0x7b, 0x89, 0x98},
30 {0x5c, 0x75, 0x83, 0x90},
31 {0x5c, 0x75, 0x83, 0x90}
34 {0x65, 0x81, 0x91, 0xa2},
35 {0x65, 0x81, 0x91, 0xa1},
36 {0x65, 0x7c, 0x8b, 0x9a},
37 {0x65, 0x7c, 0x8b, 0x9a}
40 {0x70, 0x8b, 0x9e, 0xb1},
41 {0x70, 0x8b, 0x9d, 0xb0},
42 {0x70, 0x86, 0x97, 0xa9},
43 {0x70, 0x86, 0x97, 0xa9}
46 {0x73, 0x8f, 0xa3, 0xb7},
47 {0x73, 0x8f, 0xa3, 0xb6},
48 {0x73, 0x8a, 0x9d, 0xaf},
49 {0x73, 0x8a, 0x9d, 0xaf},
52 {0x78, 0x99, 0xaf, 0xc5},
53 {0x78, 0x98, 0xae, 0xc4},
54 {0x78, 0x93, 0xa8, 0xbd},
55 {0x78, 0x93, 0xa8, 0xbd},
58 {0x5c, 0x79, 0x87, 0x94},
59 {0x5c, 0x79, 0x87, 0x94},
60 {0x5c, 0x79, 0x87, 0x94},
61 {0x5c, 0x79, 0x87, 0x94}
66 {0x3b, 0x53, 0x57, 0x5c},
67 {0x3b, 0x52, 0x57, 0x5c},
68 {0x3b, 0x4d, 0x51, 0x54},
69 {0x3b, 0x4d, 0x51, 0x54}
72 {0x46, 0x63, 0x6b, 0x74},
73 {0x46, 0x62, 0x6b, 0x73},
74 {0x46, 0x5d, 0x65, 0x6c},
75 {0x46, 0x5d, 0x65, 0x6c}
78 {0x51, 0x71, 0x7e, 0x8a},
79 {0x51, 0x71, 0x7d, 0x8a},
80 {0x51, 0x6c, 0x77, 0x82},
81 {0x51, 0x6c, 0x77, 0x82}
84 {0x5c, 0x7b, 0x8a, 0x99},
85 {0x5c, 0x7b, 0x89, 0x98},
86 {0x5c, 0x75, 0x83, 0x90},
87 {0x5c, 0x75, 0x83, 0x90}
90 {0x65, 0x81, 0x91, 0xa2},
91 {0x65, 0x81, 0x91, 0xa1},
92 {0x65, 0x7c, 0x8b, 0x9a},
93 {0x65, 0x7c, 0x8b, 0x9a}
96 {0x70, 0x8b, 0x9e, 0xb1},
97 {0x70, 0x8b, 0x9d, 0xb0},
98 {0x70, 0x86, 0x97, 0xa9},
99 {0x70, 0x86, 0x97, 0xa9}
102 {0x73, 0x8f, 0xa3, 0xb7},
103 {0x73, 0x8f, 0xa3, 0xb6},
104 {0x73, 0x8a, 0x9d, 0xaf},
105 {0x73, 0x8a, 0x9d, 0xaf}
108 {0x78, 0x99, 0xaf, 0xc5},
109 {0x78, 0x98, 0xae, 0xc4},
110 {0x78, 0x93, 0xa8, 0xbd},
111 {0x78, 0x93, 0xa8, 0xbd}
114 {0x5c, 0x79, 0x87, 0x94},
115 {0x5c, 0x79, 0x87, 0x94},
116 {0x5c, 0x79, 0x87, 0x94},
117 {0x5c, 0x79, 0x87, 0x94}
122 {0x57, 0x5e, 0x66, 0x6e},
123 {0x57, 0x5e, 0x66, 0x6e},
124 {0x57, 0x5e, 0x66, 0x6e},
125 {0x57, 0x5e, 0x66, 0x6e}
128 {0x57, 0x5e, 0x66, 0x6e},
129 {0x57, 0x5e, 0x66, 0x6e},
130 {0x57, 0x5e, 0x66, 0x6e},
131 {0x57, 0x5e, 0x66, 0x6e}
134 {0x5e, 0x69, 0x73, 0x7d},
135 {0x5e, 0x69, 0x73, 0x7d},
136 {0x5e, 0x69, 0x73, 0x7d},
137 {0x5e, 0x69, 0x73, 0x7d}
140 {0x5e, 0x69, 0x73, 0x7d},
141 {0x5e, 0x69, 0x73, 0x7d},
142 {0x5e, 0x69, 0x73, 0x7d},
143 {0x5e, 0x69, 0x73, 0x7d}
146 {0x69, 0x77, 0x85, 0x92},
147 {0x69, 0x77, 0x85, 0x92},
148 {0x69, 0x77, 0x85, 0x92},
149 {0x69, 0x77, 0x85, 0x92}
152 {0x69, 0x77, 0x85, 0x92},
153 {0x69, 0x77, 0x85, 0x92},
154 {0x69, 0x77, 0x85, 0x92},
155 {0x69, 0x77, 0x85, 0x92}
158 {0x70, 0x80, 0x91, 0xa1},
159 {0x70, 0x80, 0x91, 0xa1},
160 {0x70, 0x80, 0x91, 0xa1},
161 {0x70, 0x80, 0x91, 0xa1}
164 {0x70, 0x80, 0x91, 0xa1},
165 {0x70, 0x80, 0x91, 0xa1},
166 {0x70, 0x80, 0x91, 0xa1},
167 {0x70, 0x80, 0x91, 0xa1}
170 {0x5c, 0x79, 0x87, 0x94},
171 {0x5c, 0x79, 0x87, 0x94},
172 {0x5c, 0x79, 0x87, 0x94},
173 {0x5c, 0x79, 0x87, 0x94}
178 {0x55, 0x5b, 0x62, 0x61},
179 {0x55, 0x5b, 0x62, 0x61},
180 {0x57, 0x5e, 0x66, 0x6e},
181 {0x57, 0x5e, 0x66, 0x6e}
184 {0x55, 0x5b, 0x62, 0x61},
185 {0x55, 0x5b, 0x62, 0x61},
186 {0x57, 0x5e, 0x66, 0x6e},
187 {0x57, 0x5e, 0x66, 0x6e}
190 {0x5d, 0x67, 0x71, 0x73},
191 {0x5d, 0x67, 0x71, 0x73},
192 {0x5e, 0x69, 0x73, 0x7d},
193 {0x5e, 0x69, 0x73, 0x7d}
196 {0x5d, 0x67, 0x71, 0x73},
197 {0x5d, 0x67, 0x71, 0x73},
198 {0x5e, 0x69, 0x73, 0x7d},
199 {0x5e, 0x69, 0x73, 0x7d}
202 {0x6b, 0x7a, 0x88, 0x8f},
203 {0x6b, 0x7a, 0x88, 0x8f},
204 {0x69, 0x77, 0x85, 0x92},
205 {0x69, 0x77, 0x85, 0x92}
208 {0x6b, 0x7a, 0x88, 0x8f},
209 {0x6b, 0x7a, 0x88, 0x8f},
210 {0x69, 0x77, 0x85, 0x92},
211 {0x69, 0x77, 0x85, 0x92}
214 {0x75, 0x87, 0x98, 0xa2},
215 {0x75, 0x87, 0x98, 0xa2},
216 {0x70, 0x80, 0x91, 0xa1},
217 {0x70, 0x80, 0x91, 0xa1}
220 {0x75, 0x87, 0x98, 0xa2},
221 {0x75, 0x87, 0x98, 0xa2},
222 {0x70, 0x80, 0x91, 0xa1},
223 {0x70, 0x80, 0x91, 0xa1}
226 {0x5c, 0x79, 0x87, 0x94},
227 {0x5c, 0x79, 0x87, 0x94},
228 {0x5c, 0x79, 0x87, 0x94},
229 {0x5c, 0x79, 0x87, 0x94}
234 {0x57, 0x5e, 0x66, 0x6e},
235 {0x57, 0x5e, 0x66, 0x6e},
236 {0x57, 0x5e, 0x66, 0x6e},
237 {0x57, 0x5e, 0x66, 0x6e}
240 {0x57, 0x5e, 0x66, 0x6e},
241 {0x57, 0x5e, 0x66, 0x6e},
242 {0x57, 0x5e, 0x66, 0x6e},
243 {0x57, 0x5e, 0x66, 0x6e}
246 {0x5e, 0x69, 0x73, 0x7d},
247 {0x5e, 0x69, 0x73, 0x7d},
248 {0x5e, 0x69, 0x73, 0x7d},
249 {0x5e, 0x69, 0x73, 0x7d}
252 {0x5e, 0x69, 0x73, 0x7d},
253 {0x5e, 0x69, 0x73, 0x7d},
254 {0x5e, 0x69, 0x73, 0x7d},
255 {0x5e, 0x69, 0x73, 0x7d}
258 {0x69, 0x77, 0x85, 0x92},
259 {0x69, 0x77, 0x85, 0x92},
260 {0x69, 0x77, 0x85, 0x92},
261 {0x69, 0x77, 0x85, 0x92}
264 {0x69, 0x77, 0x85, 0x92},
265 {0x69, 0x77, 0x85, 0x92},
266 {0x69, 0x77, 0x85, 0x92},
267 {0x69, 0x77, 0x85, 0x92}
270 {0x70, 0x80, 0x91, 0xa1},
271 {0x70, 0x80, 0x91, 0xa1},
272 {0x70, 0x80, 0x91, 0xa1},
273 {0x70, 0x80, 0x91, 0xa1}
276 {0x70, 0x80, 0x91, 0xa1},
277 {0x70, 0x80, 0x91, 0xa1},
278 {0x70, 0x80, 0x91, 0xa1},
279 {0x70, 0x80, 0x91, 0xa1}
282 {0x5c, 0x79, 0x87, 0x94},
283 {0x5c, 0x79, 0x87, 0x94},
284 {0x5c, 0x79, 0x87, 0x94},
285 {0x5c, 0x79, 0x87, 0x94}
292 {0x41, 0x59, 0x5f, 0x65},
293 {0x41, 0x59, 0x5f, 0x65},
294 {0x41, 0x53, 0x58, 0x5d},
295 {0x41, 0x53, 0x58, 0x5d}
298 {0x4b, 0x69, 0x73, 0x7d},
299 {0x4b, 0x69, 0x73, 0x7d},
300 {0x4b, 0x63, 0x6c, 0x75},
301 {0x4b, 0x63, 0x6c, 0x75},
304 {0x54, 0x72, 0x7f, 0x8b},
305 {0x54, 0x72, 0x7f, 0x8b},
306 {0x54, 0x6c, 0x78, 0x83},
307 {0x54, 0x6c, 0x78, 0x83},
310 {0x61, 0x81, 0x91, 0xa2},
311 {0x61, 0x81, 0x91, 0xa2},
312 {0x61, 0x7b, 0x8a, 0x99},
313 {0x61, 0x7b, 0x8a, 0x99},
316 {0x6a, 0x87, 0x99, 0xab},
317 {0x6a, 0x87, 0x99, 0xab},
318 {0x6a, 0x82, 0x92, 0xa3},
319 {0x6a, 0x82, 0x92, 0xa3},
322 {0x71, 0x8b, 0x9e, 0xb1},
323 {0x71, 0x8b, 0x9e, 0xb1},
324 {0x71, 0x86, 0x98, 0xa9},
325 {0x71, 0x86, 0x98, 0xa9},
328 {0x75, 0x95, 0xab, 0xc0},
329 {0x75, 0x95, 0xab, 0xc0},
330 {0x75, 0x90, 0xa4, 0xb8},
331 {0x75, 0x90, 0xa4, 0xb8},
334 {0x7d, 0x9f, 0xb6, 0xce},
335 {0x7d, 0x9f, 0xb6, 0xce},
336 {0x7d, 0x99, 0xb0, 0xc6},
337 {0x7d, 0x99, 0xb0, 0xc6},
340 {0x61, 0x7e, 0x80, 0x9f},
341 {0x61, 0x7e, 0x95, 0x9f},
342 {0x61, 0x7e, 0x80, 0x9f},
343 {0x61, 0x7e, 0x80, 0x9f},
348 {0x41, 0x59, 0x5f, 0x65},
349 {0x41, 0x59, 0x5f, 0x65},
350 {0x41, 0x53, 0x58, 0x5d},
351 {0x41, 0x53, 0x58, 0x5d},
354 {0x4b, 0x69, 0x73, 0x7d},
355 {0x4b, 0x69, 0x73, 0x7d},
356 {0x4b, 0x63, 0x6c, 0x75},
357 {0x4b, 0x63, 0x6c, 0x75},
360 {0x54, 0x72, 0x7f, 0x8b},
361 {0x54, 0x72, 0x7f, 0x8b},
362 {0x54, 0x6c, 0x78, 0x83},
363 {0x54, 0x6c, 0x78, 0x83},
366 {0x61, 0x81, 0x91, 0xa2},
367 {0x61, 0x81, 0x91, 0xa2},
368 {0x61, 0x7b, 0x8a, 0x99},
369 {0x61, 0x7b, 0x8a, 0x99},
372 {0x6a, 0x87, 0x99, 0xab},
373 {0x6a, 0x87, 0x99, 0xab},
374 {0x6a, 0x82, 0x92, 0xa3},
375 {0x6a, 0x82, 0x92, 0xa3},
378 {0x71, 0x8b, 0x9e, 0xb1},
379 {0x71, 0x8b, 0x9e, 0xb1},
380 {0x71, 0x86, 0x98, 0xa9},
381 {0x71, 0x86, 0x98, 0xa9},
384 {0x75, 0x95, 0xab, 0xc0},
385 {0x75, 0x95, 0xab, 0xc0},
386 {0x75, 0x90, 0xa4, 0xb8},
387 {0x75, 0x90, 0xa4, 0xb8},
390 {0x7d, 0x9f, 0xb6, 0xce},
391 {0x7d, 0x9f, 0xb6, 0xce},
392 {0x7d, 0x99, 0xb0, 0xc6},
393 {0x7d, 0x99, 0xb0, 0xc6},
396 {0x61, 0x7e, 0x80, 0x9f},
397 {0x61, 0x7e, 0x80, 0x9f},
398 {0x61, 0x7e, 0x80, 0x9f},
399 {0x61, 0x7e, 0x80, 0x9f},
404 {0x57, 0x5e, 0x66, 0x6e},
405 {0x57, 0x5e, 0x66, 0x6e},
406 {0x57, 0x5e, 0x66, 0x6e},
407 {0x57, 0x5e, 0x66, 0x6e},
410 {0x57, 0x5e, 0x66, 0x6e},
411 {0x57, 0x5e, 0x66, 0x6e},
412 {0x57, 0x5e, 0x66, 0x6e},
413 {0x57, 0x5e, 0x66, 0x6e},
416 {0x5e, 0x69, 0x73, 0x7d},
417 {0x5e, 0x69, 0x73, 0x7d},
418 {0x5e, 0x69, 0x73, 0x7d},
419 {0x5e, 0x69, 0x73, 0x7d},
422 {0x5e, 0x69, 0x73, 0x7d},
423 {0x5e, 0x69, 0x73, 0x7d},
424 {0x5e, 0x69, 0x73, 0x7d},
425 {0x5e, 0x69, 0x73, 0x7d},
428 {0x69, 0x77, 0x85, 0x92},
429 {0x69, 0x77, 0x85, 0x92},
430 {0x69, 0x77, 0x85, 0x92},
431 {0x69, 0x77, 0x85, 0x92},
434 {0x69, 0x77, 0x85, 0x92},
435 {0x69, 0x77, 0x85, 0x92},
436 {0x69, 0x77, 0x85, 0x92},
437 {0x69, 0x77, 0x85, 0x92},
440 {0x70, 0x80, 0x91, 0xa1},
441 {0x70, 0x80, 0x91, 0xa1},
442 {0x70, 0x80, 0x91, 0xa1},
443 {0x70, 0x80, 0x91, 0xa1},
446 {0x70, 0x80, 0x91, 0xa1},
447 {0x70, 0x80, 0x91, 0xa1},
448 {0x70, 0x80, 0x91, 0xa1},
449 {0x70, 0x80, 0x91, 0xa1},
452 {0x5c, 0x79, 0x87, 0x94},
453 {0x5c, 0x79, 0x87, 0x94},
454 {0x5c, 0x79, 0x87, 0x94},
455 {0x5c, 0x79, 0x87, 0x94},
460 {0x56, 0x5d, 0x65, 0x64},
461 {0x56, 0x5d, 0x65, 0x64},
462 {0x57, 0x5e, 0x66, 0x6e},
463 {0x57, 0x5e, 0x66, 0x6e},
466 {0x56, 0x5d, 0x65, 0x64},
467 {0x56, 0x5d, 0x65, 0x64},
468 {0x57, 0x5e, 0x66, 0x6e},
469 {0x57, 0x5e, 0x66, 0x6e},
472 {0x5e, 0x68, 0x72, 0x74},
473 {0x5e, 0x68, 0x72, 0x74},
474 {0x5e, 0x69, 0x73, 0x7d},
475 {0x5e, 0x69, 0x73, 0x7d},
478 {0x5e, 0x68, 0x72, 0x74},
479 {0x5e, 0x68, 0x72, 0x74},
480 {0x5e, 0x69, 0x73, 0x7d},
481 {0x5e, 0x69, 0x73, 0x7d},
484 {0x68, 0x76, 0x83, 0x89},
485 {0x68, 0x76, 0x83, 0x89},
486 {0x69, 0x77, 0x85, 0x92},
487 {0x69, 0x77, 0x85, 0x92},
490 {0x68, 0x76, 0x83, 0x89},
491 {0x68, 0x76, 0x83, 0x89},
492 {0x69, 0x77, 0x85, 0x92},
493 {0x69, 0x77, 0x85, 0x92},
496 {0x70, 0x80, 0x90, 0x98},
497 {0x70, 0x80, 0x90, 0x98},
498 {0x70, 0x80, 0x91, 0xa1},
499 {0x70, 0x80, 0x91, 0xa1},
502 {0x70, 0x80, 0x90, 0x98},
503 {0x70, 0x80, 0x90, 0x98},
504 {0x70, 0x80, 0x91, 0xa1},
505 {0x70, 0x80, 0x91, 0xa1},
508 {0x5c, 0x79, 0x87, 0x94},
509 {0x5c, 0x79, 0x87, 0x94},
510 {0x5c, 0x79, 0x87, 0x94},
511 {0x5c, 0x79, 0x87, 0x94},
516 {0x57, 0x5e, 0x66, 0x6e},
517 {0x57, 0x5e, 0x66, 0x6e},
518 {0x57, 0x5e, 0x66, 0x6e},
519 {0x57, 0x5e, 0x66, 0x6e},
522 {0x57, 0x5e, 0x66, 0x6e},
523 {0x57, 0x5e, 0x66, 0x6e},
524 {0x57, 0x5e, 0x66, 0x6e},
525 {0x57, 0x5e, 0x66, 0x6e},
528 {0x5e, 0x69, 0x73, 0x7d},
529 {0x5e, 0x69, 0x73, 0x7d},
530 {0x5e, 0x69, 0x73, 0x7d},
531 {0x5e, 0x69, 0x73, 0x7d},
534 {0x5e, 0x69, 0x73, 0x7d},
535 {0x5e, 0x69, 0x73, 0x7d},
536 {0x5e, 0x69, 0x73, 0x7d},
537 {0x5e, 0x69, 0x73, 0x7d},
540 {0x69, 0x77, 0x85, 0x92},
541 {0x69, 0x77, 0x85, 0x92},
542 {0x69, 0x77, 0x85, 0x92},
543 {0x69, 0x77, 0x85, 0x92},
546 {0x69, 0x77, 0x85, 0x92},
547 {0x69, 0x77, 0x85, 0x92},
548 {0x69, 0x77, 0x85, 0x92},
549 {0x69, 0x77, 0x85, 0x92},
552 {0x70, 0x80, 0x91, 0xa1},
553 {0x70, 0x80, 0x91, 0xa1},
554 {0x70, 0x80, 0x91, 0xa1},
555 {0x70, 0x80, 0x91, 0xa1},
558 {0x70, 0x80, 0x91, 0xa1},
559 {0x70, 0x80, 0x91, 0xa1},
560 {0x70, 0x80, 0x91, 0xa1},
561 {0x70, 0x80, 0x91, 0xa1},
564 {0x5c, 0x79, 0x87, 0x94},
565 {0x5c, 0x79, 0x87, 0x94},
566 {0x5c, 0x79, 0x87, 0x94},
567 {0x5c, 0x79, 0x87, 0x94},
573 const u16 u16_FFFE0EB8[2][4] = {
574 {0x0000, 0x0000, 0x0000, 0x0000},
575 {0x0000, 0x0000, 0x0000, 0x0000}
578 /* [CARD][LANE][CLOCK_SPEED] */
579 const u16 u16_ffd1188[2][9][4] = {
581 {0xfff9, 0xfff7, 0xfff5, 0xfff2},
582 {0xfff9, 0xfff7, 0xfff5, 0xfff2},
583 {0xfffb, 0xfff9, 0xfff7, 0xfff6},
584 {0xfffb, 0xfff9, 0xfff7, 0xfff6},
585 {0xfffc, 0xfffb, 0xfffa, 0xfff8},
586 {0xfffc, 0xfffb, 0xfffa, 0xfff8},
587 {0xfffd, 0xfffc, 0xfffb, 0xfffa},
588 {0xfffd, 0xfffc, 0xfffb, 0xfffa},
589 {0x0000, 0x0000, 0x0000, 0x0000}
592 {0x0001, 0x0001, 0x0001, 0x0002},
593 {0xfffa, 0xfff8, 0xfff6, 0xfff4},
594 {0x0001, 0x0002, 0x0002, 0x0003},
595 {0xffe2, 0xffd8, 0xffce, 0xffc4},
596 {0x0021, 0x002d, 0x0038, 0x0043},
597 {0x0004, 0x0005, 0x0006, 0x0007},
598 {0x000e, 0x0013, 0x0018, 0x001d},
599 {0x0009, 0x000c, 0x000f, 0x0012},
600 {0x0000, 0x0000, 0x0000, 0x0000}
604 /* [REVISION][CHANNEL][CLOCK_INDEX][?] */
605 const u8 u8_FFFD1891[2][2][4][12] = {
608 {0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
609 {0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
610 {0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
611 {0x08, 0x00, 0x00, 0x10, 0x10, 0x10, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00},
614 {0x04, 0x00, 0x00, 0x10, 0x10, 0x10, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00},
615 {0x05, 0x00, 0x00, 0x10, 0x10, 0x10, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00},
616 {0x07, 0x00, 0x00, 0x10, 0x10, 0x10, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00},
617 {0x08, 0x00, 0x00, 0x06, 0x06, 0x06, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00},
622 {0x06, 0x00, 0x00, 0x08, 0x08, 0x08, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00},
623 {0x08, 0x00, 0x00, 0x0a, 0x0a, 0x0a, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00},
624 {0x0a, 0x00, 0x00, 0x0c, 0x0c, 0x0c, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00},
625 {0x0c, 0x00, 0x00, 0x06, 0x06, 0x06, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00},
628 {0x06, 0x00, 0x00, 0x08, 0x08, 0x08, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00},
629 {0x08, 0x00, 0x00, 0x0a, 0x0a, 0x0a, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00},
630 {0x0a, 0x00, 0x00, 0x0c, 0x0c, 0x0c, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00},
631 {0x0c, 0x00, 0x00, 0x03, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x74}
636 const u8 u8_FFFD17E0[2][5][4][4] = {
639 {0x00, 0x0c, 0x00, 0x00},
640 {0x00, 0x00, 0x00, 0x00},
641 {0x23, 0x19, 0x0f, 0x05},
642 {0x23, 0x19, 0x0f, 0x05},
645 {0x00, 0x0c, 0x00, 0x00},
646 {0x00, 0x00, 0x00, 0x00},
647 {0x23, 0x19, 0x0f, 0x05},
648 {0x23, 0x19, 0x0f, 0x05},
651 {0x00, 0x00, 0x00, 0x00},
652 {0x00, 0x00, 0x00, 0x00},
653 {0x44, 0x45, 0x47, 0x05},
654 {0x44, 0x45, 0x47, 0x05},
657 {0x00, 0x00, 0x00, 0x00},
658 {0x00, 0x00, 0x00, 0x00},
659 {0x44, 0x45, 0x46, 0x44},
660 {0x44, 0x45, 0x46, 0x44},
663 {0x00, 0x00, 0x00, 0x00},
664 {0x00, 0x00, 0x00, 0x00},
665 {0x2a, 0x24, 0x1e, 0x16},
666 {0x2a, 0x24, 0x1e, 0x16},
671 {0x00, 0x08, 0x00, 0x00},
672 {0x00, 0x00, 0x00, 0x00},
673 {0x27, 0x1e, 0x16, 0x0d},
674 {0x27, 0x1e, 0x16, 0x0d},
677 {0x00, 0x08, 0x00, 0x00},
678 {0x00, 0x00, 0x00, 0x00},
679 {0x27, 0x1e, 0x16, 0x0d},
680 {0x27, 0x1e, 0x16, 0x0d},
683 {0x00, 0x00, 0x00, 0x00},
684 {0x00, 0x00, 0x00, 0x00},
685 {0x44, 0x45, 0x47, 0x05},
686 {0x44, 0x45, 0x47, 0x05},
689 {0x00, 0x00, 0x00, 0x00},
690 {0x00, 0x00, 0x00, 0x00},
691 {0x43, 0x44, 0x45, 0x43},
692 {0x43, 0x44, 0x45, 0x43},
695 {0x00, 0x00, 0x00, 0x00},
696 {0x00, 0x00, 0x00, 0x00},
697 {0x2a, 0x24, 0x1e, 0x16},
698 {0x2a, 0x24, 0x1e, 0x16},
703 const u8 u8_FFFD0C78[2][5][4][2][2][4] = {
708 {0x00, 0x00, 0x03, 0x04},
709 {0x00, 0x00, 0x03, 0x04},
712 {0x00, 0x00, 0x03, 0x04},
713 {0x00, 0x00, 0x03, 0x04},
718 {0x00, 0x02, 0x0d, 0x0f},
719 {0x00, 0x02, 0x0d, 0x0f},
722 {0x00, 0x02, 0x0d, 0x0f},
723 {0x00, 0x02, 0x0d, 0x0f},
728 {0x00, 0x00, 0x00, 0x00},
729 {0x00, 0x00, 0x00, 0x00},
732 {0x00, 0x00, 0x00, 0x00},
733 {0x00, 0x00, 0x00, 0x00},
738 {0x00, 0x00, 0x00, 0x00},
739 {0x00, 0x00, 0x00, 0x00},
742 {0x00, 0x00, 0x00, 0x00},
743 {0x00, 0x00, 0x00, 0x00},
750 {0x00, 0x00, 0x03, 0x04},
751 {0x00, 0x00, 0x03, 0x04},
754 {0x00, 0x00, 0x03, 0x04},
755 {0x00, 0x00, 0x03, 0x04},
760 {0x00, 0x02, 0x0d, 0x0f},
761 {0x00, 0x02, 0x0d, 0x0f},
764 {0x00, 0x02, 0x0d, 0x0f},
765 {0x00, 0x02, 0x0d, 0x0f},
770 {0x00, 0x00, 0x00, 0x00},
771 {0x00, 0x00, 0x00, 0x00},
774 {0x00, 0x00, 0x00, 0x00},
775 {0x00, 0x00, 0x00, 0x00},
780 {0x00, 0x00, 0x00, 0x00},
781 {0x00, 0x00, 0x00, 0x00},
784 {0x00, 0x00, 0x00, 0x00},
785 {0x00, 0x00, 0x00, 0x00},
792 {0x04, 0x05, 0x07, 0x08},
793 {0x04, 0x05, 0x07, 0x08},
796 {0x04, 0x05, 0x07, 0x08},
797 {0x04, 0x05, 0x07, 0x08},
802 {0x04, 0x05, 0x07, 0x08},
803 {0x04, 0x05, 0x07, 0x08},
806 {0x04, 0x05, 0x07, 0x08},
807 {0x04, 0x05, 0x07, 0x08},
812 {0x04, 0x05, 0x07, 0x08},
813 {0x04, 0x05, 0x07, 0x08},
816 {0x04, 0x05, 0x07, 0x08},
817 {0x04, 0x05, 0x07, 0x08},
822 {0x04, 0x05, 0x07, 0x08},
823 {0x04, 0x05, 0x07, 0x08},
826 {0x04, 0x05, 0x07, 0x08},
827 {0x04, 0x05, 0x07, 0x08},
834 {0x06, 0x07, 0x09, 0x0b},
835 {0x06, 0x07, 0x09, 0x0b},
838 {0x06, 0x07, 0x09, 0x0b},
839 {0x06, 0x07, 0x09, 0x0b},
844 {0x06, 0x07, 0x09, 0x0b},
845 {0x06, 0x07, 0x09, 0x0b},
848 {0x06, 0x07, 0x09, 0x0b},
849 {0x06, 0x07, 0x09, 0x0b},
854 {0x06, 0x07, 0x09, 0x0b},
855 {0x06, 0x07, 0x09, 0x0b},
858 {0x06, 0x07, 0x09, 0x0b},
859 {0x06, 0x07, 0x09, 0x0b},
864 {0x06, 0x07, 0x09, 0x0b},
865 {0x06, 0x07, 0x09, 0x0b},
868 {0x06, 0x07, 0x09, 0x0b},
869 {0x06, 0x07, 0x09, 0x0b},
876 {0x00, 0x00, 0x00, 0x00},
877 {0x00, 0x00, 0x00, 0x00},
880 {0x00, 0x00, 0x00, 0x00},
881 {0x00, 0x00, 0x00, 0x00},
886 {0x04, 0x06, 0x08, 0x0a},
887 {0x04, 0x06, 0x08, 0x0a},
890 {0x04, 0x06, 0x08, 0x0a},
891 {0x04, 0x06, 0x08, 0x0a},
896 {0x00, 0x00, 0x00, 0x00},
897 {0x00, 0x00, 0x00, 0x00},
900 {0x00, 0x00, 0x00, 0x00},
901 {0x00, 0x00, 0x00, 0x00},
906 {0x00, 0x00, 0x00, 0x00},
907 {0x00, 0x00, 0x00, 0x00},
910 {0x00, 0x00, 0x00, 0x00},
911 {0x00, 0x00, 0x00, 0x00},
920 {0x00, 0x00, 0x03, 0x04},
921 {0x00, 0x00, 0x03, 0x04},
924 {0x00, 0x00, 0x03, 0x04},
925 {0x00, 0x00, 0x03, 0x04},
930 {0x00, 0x06, 0x0d, 0x0f},
931 {0x00, 0x06, 0x0d, 0x0f},
934 {0x00, 0x06, 0x0d, 0x0f},
935 {0x00, 0x06, 0x0d, 0x0f},
940 {0x00, 0x00, 0x00, 0x00},
941 {0x00, 0x00, 0x00, 0x00},
944 {0x00, 0x00, 0x00, 0x00},
945 {0x00, 0x00, 0x00, 0x00},
950 {0x00, 0x00, 0x00, 0x00},
951 {0x00, 0x00, 0x00, 0x00},
954 {0x00, 0x00, 0x00, 0x00},
955 {0x00, 0x00, 0x00, 0x00},
962 {0x00, 0x00, 0x03, 0x04},
963 {0x00, 0x00, 0x03, 0x04},
966 {0x00, 0x00, 0x03, 0x04},
967 {0x00, 0x00, 0x03, 0x04},
972 {0x00, 0x06, 0x13, 0x17},
973 {0x00, 0x06, 0x13, 0x17},
976 {0x00, 0x06, 0x13, 0x17},
977 {0x00, 0x06, 0x13, 0x17},
982 {0x00, 0x00, 0x00, 0x00},
983 {0x00, 0x00, 0x00, 0x00},
986 {0x00, 0x00, 0x00, 0x00},
987 {0x00, 0x00, 0x00, 0x00},
992 {0x00, 0x00, 0x00, 0x00},
993 {0x00, 0x00, 0x00, 0x00},
996 {0x00, 0x00, 0x00, 0x00},
997 {0x00, 0x00, 0x00, 0x00},
1004 {0x04, 0x05, 0x07, 0x08},
1005 {0x04, 0x05, 0x07, 0x08},
1008 {0x04, 0x05, 0x07, 0x08},
1009 {0x04, 0x05, 0x07, 0x08},
1014 {0x04, 0x05, 0x07, 0x08},
1015 {0x04, 0x05, 0x07, 0x08},
1018 {0x04, 0x05, 0x07, 0x08},
1019 {0x04, 0x05, 0x07, 0x08},
1024 {0x04, 0x05, 0x07, 0x08},
1025 {0x04, 0x05, 0x07, 0x08},
1028 {0x04, 0x05, 0x07, 0x08},
1029 {0x04, 0x05, 0x07, 0x08},
1034 {0x04, 0x05, 0x07, 0x08},
1035 {0x04, 0x05, 0x07, 0x08},
1038 {0x04, 0x05, 0x07, 0x08},
1039 {0x04, 0x05, 0x07, 0x08},
1046 {0x06, 0x07, 0x09, 0x0b},
1047 {0x06, 0x07, 0x09, 0x0b},
1050 {0x06, 0x07, 0x09, 0x0b},
1051 {0x06, 0x07, 0x09, 0x0b},
1056 {0x06, 0x07, 0x09, 0x0b},
1057 {0x06, 0x07, 0x09, 0x0b},
1060 {0x06, 0x07, 0x09, 0x0b},
1061 {0x06, 0x07, 0x09, 0x0b},
1066 {0x06, 0x07, 0x09, 0x0b},
1067 {0x06, 0x07, 0x09, 0x0b},
1070 {0x06, 0x07, 0x09, 0x0b},
1071 {0x06, 0x07, 0x09, 0x0b},
1076 {0x06, 0x07, 0x09, 0x0b},
1077 {0x06, 0x07, 0x09, 0x0b},
1080 {0x06, 0x07, 0x09, 0x0b},
1081 {0x06, 0x07, 0x09, 0x0b},
1088 {0x00, 0x00, 0x03, 0x04},
1089 {0x00, 0x00, 0x03, 0x04},
1092 {0x00, 0x00, 0x03, 0x04},
1093 {0x00, 0x00, 0x03, 0x04},
1098 {0x04, 0x06, 0x08, 0x0a},
1099 {0x00, 0x06, 0x0d, 0x0f},
1102 {0x00, 0x06, 0x0d, 0x0f},
1103 {0x00, 0x06, 0x0d, 0x0f},
1108 {0x00, 0x00, 0x00, 0x00},
1109 {0x00, 0x00, 0x00, 0x00},
1112 {0x00, 0x00, 0x00, 0x00},
1113 {0x00, 0x00, 0x00, 0x00},
1118 {0x00, 0x00, 0x00, 0x00},
1119 {0x00, 0x00, 0x00, 0x00},
1122 {0x00, 0x00, 0x00, 0x00},
1123 {0x00, 0x00, 0x00, 0x00},
1130 const u16 u16_fffd0c68[3] = { 0x04c3, 0x064d, 0x068b };
1132 const u16 u16_fffd0c70[2][2] = {
1133 {0x06c0, 0x06c9},
1134 {0x06a4, 0x06ad}
1137 const u16 u16_fffd0c50[3][2][2] = {
1139 {0x04b9, 0x04af},
1140 {0x04a5, 0x049b}
1143 {0x0625, 0x062f},
1144 {0x0639, 0x0643},
1147 {0x0663, 0x066d},
1148 {0x0677, 0x0681}
1152 /* [CLOCK_INDEX] */
1153 const u16 min_cycletime[4] = { 0x09c4, 0x0753, 0x05dc, 0x0000 };
1155 /* [CLOCK_INDEX] */
1156 const u16 min_cas_latency_time[4] = { 0x30d4, 0x2bf2, 0x2904, 0x0000 };
1158 /* [CHANNEL][EXT_SILICON_REVISION][?][CLOCK_INDEX] */
1159 /* On other mobos may also depend on slot and rank. */
1160 const u8 u8_FFFD0EF8[2][5][4][4] = {
1163 {0x00, 0x00, 0x03, 0x04,},
1164 {0x00, 0x02, 0x0d, 0x0f,},
1165 {0x00, 0x00, 0x00, 0x00,},
1166 {0x00, 0x00, 0x00, 0x00,},
1169 {0x00, 0x00, 0x03, 0x04,},
1170 {0x00, 0x02, 0x0d, 0x0f,},
1171 {0x00, 0x00, 0x00, 0x00,},
1172 {0x00, 0x00, 0x00, 0x00,},
1175 {0x09, 0x0c, 0x0f, 0x12,},
1176 {0x09, 0x0c, 0x0f, 0x12,},
1177 {0x09, 0x0c, 0x0f, 0x12,},
1178 {0x09, 0x0c, 0x0f, 0x12,},
1181 {0x06, 0x08, 0x0a, 0x0c,},
1182 {0x06, 0x08, 0x0a, 0x0c,},
1183 {0x06, 0x08, 0x0a, 0x0c,},
1184 {0x06, 0x08, 0x0a, 0x0c,},
1187 {0x00, 0x00, 0x00, 0x00,},
1188 {0x07, 0x0a, 0x0d, 0x10,},
1189 {0x04, 0x06, 0x08, 0x0a,},
1190 {0x04, 0x06, 0x08, 0x0a,},
1195 {0x00, 0x00, 0x03, 0x04,},
1196 {0x00, 0x06, 0x0d, 0x0f,},
1197 {0x00, 0x00, 0x00, 0x00,},
1198 {0x00, 0x00, 0x00, 0x00,},
1201 {0x00, 0x00, 0x03, 0x04,},
1202 {0x00, 0x06, 0x13, 0x17,},
1203 {0x00, 0x00, 0x00, 0x00,},
1204 {0x00, 0x00, 0x00, 0x00,},
1207 {0x09, 0x0c, 0x0f, 0x12,},
1208 {0x09, 0x0c, 0x0f, 0x12,},
1209 {0x09, 0x0c, 0x0f, 0x12,},
1210 {0x09, 0x0c, 0x0f, 0x12,},
1213 {0x09, 0x0c, 0x10, 0x13,},
1214 {0x09, 0x0c, 0x10, 0x13,},
1215 {0x09, 0x0c, 0x10, 0x13,},
1216 {0x09, 0x0c, 0x10, 0x13,},
1219 {0x00, 0x00, 0x00, 0x00,},
1220 {0x07, 0x0a, 0x0d, 0x10,},
1221 {0x04, 0x06, 0x08, 0x0a,},
1222 {0x04, 0x06, 0x08, 0x0a,},
1227 /* [CLOCK_SPEED] */
1228 const u8 u8_FFFD1218[4] = {
1229 0x15, 0x15, 0x15, 0x12
1232 const u8 reg178_min[] = { 1, 3, 4, 7 };
1233 const u8 reg178_max[] = { 62, 60, 59, 56 };
1234 const u8 reg178_step[] = { 5, 4, 3, 2 };
1236 const u16 u16_ffd1178[2][4] = {
1237 {0xfffb, 0xfffa, 0xfff8, 0xfff7},
1238 {0xfffb, 0xfffa, 0xfff8, 0xfff7},
1241 const u16 u16_fe0eb8[2][4] = {
1242 {0x0000, 0x0000, 0x0000, 0x0000},
1243 {0x0000, 0x0000, 0x0000, 0x0000}
1246 const u8 lut16[4] = { 14, 13, 14, 14 };