1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 08:42:12 +02:00

drivers/ddr/fsl: Add calculation of register control words

DDR4 RDIMM has some information in SPD to be used to calculate the
control words for register chip. The rest can be found from JEDEC
spec DDR4RCD02.

Signed-off-by: York Sun <york.sun@nxp.com>
This commit is contained in:
York Sun
2018-01-29 10:24:08 -08:00
parent c0c32af0b2
commit 564e9383e5
5 changed files with 54 additions and 11 deletions

View File

@@ -382,9 +382,11 @@ struct ddr4_spd_eeprom_s {
/* 135 Register Revision Number */
uint8_t reg_rev;
/* 136 Address mapping from register to DRAM */
uint8_t reg_map;
/* 137~253 Reserved */
uint8_t res_137[254-137];
u8 reg_map;
u8 ca_stren;
u8 clk_stren;
/* 139~253 Reserved */
u8 res_137[254 - 139];
/* 254~255 CRC */
uint8_t crc[2];
} registered;