blob: 1aad8e3d80d8f7e39e96ead174debe7d95e3718e [file] [log] [blame]
Patrick Georgiac959032020-05-05 22:49:26 +02001/* SPDX-License-Identifier: GPL-2.0-or-later */
Angel Pons18a55cd2019-08-14 20:46:00 +02002
3#ifndef RAMINIT_TABLES_H
4#define RAMINIT_TABLES_H
5
6#include <types.h>
7
8/* [CHANNEL][EXT_REVISON][LANE][2*SLOT+RANK][CLOCK_SPEED] */
9extern const u8 u8_FFFD1240[2][5][9][4][4];
10
11extern const u16 u16_FFFE0EB8[2][4];
12
13/* [CARD][LANE][CLOCK_SPEED] */
14extern const u16 u16_ffd1188[2][9][4];
15
16/* [REVISION][CHANNEL][CLOCK_INDEX][?] */
17extern const u8 u8_FFFD1891[2][2][4][12];
18
19extern const u8 u8_FFFD17E0[2][5][4][4];
20
21extern const u8 u8_FFFD0C78[2][5][4][2][2][4];
22
23extern const u16 u16_fffd0c68[3];
24
25extern const u16 u16_fffd0c70[2][2];
26
27extern const u16 u16_fffd0c50[3][2][2];
28
29/* [CLOCK_INDEX] */
30extern const u16 min_cycletime[4];
31
32/* [CLOCK_INDEX] */
33extern const u16 min_cas_latency_time[4];
34
35/* [CHANNEL][EXT_SILICON_REVISION][?][CLOCK_INDEX] */
36/* On other mobos may also depend on slot and rank. */
37extern const u8 u8_FFFD0EF8[2][5][4][4];
38
39/* [CLOCK_SPEED] */
40extern const u8 u8_FFFD1218[4];
41
42extern const u8 reg178_min[];
43extern const u8 reg178_max[];
44extern const u8 reg178_step[];
45
46extern const u16 u16_ffd1178[2][4];
47
48extern const u16 u16_fe0eb8[2][4];
49
50extern const u8 lut16[4];
51
52#endif // RAMINIT_TABLES_H