1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef MAINBOARD_SPD_H
4 #define MAINBOARD_SPD_H
6 /* SPD index definition should be matched with the order of SPD_SOURCES */
7 #define SPD_ID_MICRON 0x0
8 #define SPD_ID_SAMSUNG 0x1
9 #define SPD_ID_HYNIX 0x2
11 void mainboard_fill_dq_map_ch0(void *dq_map_ptr
);
12 void mainboard_fill_dq_map_ch1(void *dq_map_ptr
);
13 void mainboard_fill_dqs_map_ch0(void *dqs_map_ptr
);
14 void mainboard_fill_dqs_map_ch1(void *dqs_map_ptr
);
15 void mainboard_fill_rcomp_res_data(void *rcomp_ptr
);
16 void mainboard_fill_rcomp_strength_data(void *rcomp_strength_ptr
);