Patchwork [U-Boot,07/10] Adding more SPD registers

login
register
mail settings
Submitter York Sun
Date Dec. 9, 2010, 2:55 a.m.
Message ID <1291863340-4354-7-git-send-email-yorksun@freescale.com>
Download mbox | patch
Permalink /patch/74837/
State Changes Requested
Delegated to: Kumar Gala
Headers show

Comments

York Sun - Dec. 9, 2010, 2:55 a.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. 14, 2010, 7:52 a.m.
Dear York Sun,

In message <1291863340-4354-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(-)
> 
> diff --git a/include/ddr_spd.h b/include/ddr_spd.h
> index 710e528..9fa305e 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;     /* SDRAM device type */

for consistency: make the comment "33 SDRAM device type".


Best regards,

Wolfgang Denk

Patch

diff --git a/include/ddr_spd.h b/include/ddr_spd.h
index 710e528..9fa305e 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;     /* SDRAM device type */
+	unsigned char res_34_59[26];   /* 34-59 Reserved, General Section */
 
 	/* Module-Specific Section: Bytes 60-116 */
 	union {