Skip to content

Commit b191f02

Browse files
orlowdsaschahauer
authored andcommitted
ddr_spd: add DDR3 Load Reduced module specific data
This will be used by the DDR3 SPD data printing routine and is needed for completeness, to cover all of the DDR3-related cases from the original decode-dimms tool. Signed-off-by: Denis Orlov <[email protected]> Link: https://lore.barebox.org/[email protected] Signed-off-by: Sascha Hauer <[email protected]>
1 parent f658967 commit b191f02

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

include/ddr_spd.h

+34
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,40 @@ struct ddr3_spd_eeprom {
264264
/* 69-76 RC1,3,5...15 (MS Nibble) / RC0,2,4...14 (LS Nibble) */
265265
unsigned char rcw[8];
266266
} registered;
267+
struct {
268+
/* 60 (Load Reduced) Module Nominal Height */
269+
unsigned char mod_height;
270+
/* 61 (Load Reduced) Module Maximum Thickness */
271+
unsigned char mod_thickness;
272+
/* 62 (Load Reduced) Reference Raw Card Used */
273+
unsigned char ref_raw_card;
274+
/* 63 Module Attributes */
275+
unsigned char modu_attr;
276+
/* 64 Memory Buffer Revision ID */
277+
unsigned char buf_rev_id;
278+
/* 65 Memory Buffer Manufacturer ID Code, Least Significant Byte */
279+
unsigned char buf_id_lo;
280+
/* 66 Memory Buffer Manufacturer ID Code, Most Significant Byte */
281+
unsigned char buf_id_hi;
282+
/* 67-89 FxRCy and MR1,2 Registers */
283+
unsigned char fxrcy_mr1_2[23];
284+
/* 90 Minimum Module Delay Time for 1.5 V */
285+
unsigned char min_delay_1_5;
286+
/* 91 Maximum Module Delay Time for 1.5 V */
287+
unsigned char max_delay_1_5;
288+
/* 92 Minimum Module Delay Time for 1.35 V */
289+
unsigned char min_delay_1_35;
290+
/* 93 Maximum Module Delay Time for 1.35 V */
291+
unsigned char max_delay_1_35;
292+
/* 94 Minimum Module Delay Time for 1.25 V */
293+
unsigned char min_delay_1_25;
294+
/* 95 Maximum Module Delay Time for 1.25 V */
295+
unsigned char max_delay_1_25;
296+
/* 96-101 Reserved */
297+
unsigned char reserved[6];
298+
/* 102-116 Memory Buffer Personality Bytes */
299+
unsigned char mem_buf_personality[15];
300+
} loadreduced;
267301
unsigned char uc[57]; /* 60-116 Module-Specific Section */
268302
} mod_section;
269303

0 commit comments

Comments
 (0)