mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
powerpc/8xxx: Enable DDR3 RDIMM support
Enabled registered DIMMs using data from SPD. RDIMMs have registers which need to be configured before using. The register configuration words are stored in SPD byte 60~116 (JEDEC standard No.21-C). Software should read those RCWs and put into DDR controller before initialization. Signed-off-by: York Sun <yorksun@freescale.com>
This commit is contained in:
parent
7fd101c97b
commit
9490ff4864
6 changed files with 72 additions and 53 deletions
|
@ -243,6 +243,20 @@ typedef struct ddr3_spd_eeprom_s {
|
|||
unsigned char mod_thickness;
|
||||
/* 62 (Registered) Reference Raw Card Used */
|
||||
unsigned char ref_raw_card;
|
||||
/* 63 DIMM Module Attributes */
|
||||
unsigned char modu_attr;
|
||||
/* 64 RDIMM Thermal Heat Spreader Solution */
|
||||
unsigned char thermal;
|
||||
/* 65 Register Manufacturer ID Code, Least Significant Byte */
|
||||
unsigned char reg_id_lo;
|
||||
/* 66 Register Manufacturer ID Code, Most Significant Byte */
|
||||
unsigned char reg_id_hi;
|
||||
/* 67 Register Revision Number */
|
||||
unsigned char reg_rev;
|
||||
/* 68 Register Type */
|
||||
unsigned char reg_type;
|
||||
/* 69-76 RC1,3,5...15 (MS Nibble) / RC0,2,4...14 (LS Nibble) */
|
||||
unsigned char rcw[8];
|
||||
} registered;
|
||||
unsigned char uc[57]; /* 60-116 Module-Specific Section */
|
||||
} mod_section;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue