Patchwork [U-Boot,v2,7/9] Adding more SPD registers

login
register
mail settings
Submitter York Sun
Date Dec. 17, 2010, 11:59 p.m.
Message ID <1292630381-23022-7-git-send-email-yorksun@freescale.com>
Download mbox | patch
Permalink /patch/76045/
State Accepted
Commit c49290cd1964bd67fd3a7006a4409c9f2d526ee4
Headers show

Comments

York Sun - Dec. 17, 2010, 11:59 p.m.
Adding byte 32 and 33

Signed-off-by: York Sun <yorksun@freescale.com>
---
 include/ddr_spd.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
Wolfgang Denk - Dec. 18, 2010, 10:54 p.m.
Dear York Sun,

In message <1292630381-23022-7-git-send-email-yorksun@freescale.com> you wrote:
> Adding byte 32 and 33
> 
> Signed-off-by: York Sun <yorksun@freescale.com>
> ---
>  include/ddr_spd.h |    4 +++-
>  1 files changed, 3 insertions(+), 1 deletions(-)

Where are these new definitions used?

Best regards,

Wolfgang Denk

Patch

diff --git a/include/ddr_spd.h b/include/ddr_spd.h
index 710e528..d632a1e 100644
--- a/include/ddr_spd.h
+++ b/include/ddr_spd.h
@@ -219,7 +219,9 @@  typedef struct ddr3_spd_eeprom_s {
 					     Delay Time*/
 	unsigned char opt_features;    /* 30 SDRAM Optional Features */
 	unsigned char therm_ref_opt;   /* 31 SDRAM Thermal and Refresh Opts */
-	unsigned char res_32_59[28];   /* 32-59 Reserved, General Section */
+	unsigned char therm_sensor;    /* 32 Module Thermal Sensor */
+	unsigned char device_type;     /* 33 SDRAM device type */
+	unsigned char res_34_59[26];   /* 34-59 Reserved, General Section */
 
 	/* Module-Specific Section: Bytes 60-116 */
 	union {