<p>Arthur Heymans has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/21676">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">device/dram/ddr2.c: Store the checksum in the decoded SPD struct<br><br>Change-Id: I53f4a3e4030ea19e10c0fe11a99a3480644f5fae<br>Signed-off-by: Arthur Heymans <arthur@aheymans.xyz><br>---<br>M src/device/dram/ddr2.c<br>M src/include/device/dram/ddr2.h<br>2 files changed, 2 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/76/21676/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/src/device/dram/ddr2.c b/src/device/dram/ddr2.c<br>index d524238..c6cf8df 100644<br>--- a/src/device/dram/ddr2.c<br>+++ b/src/device/dram/ddr2.c<br>@@ -322,6 +322,7 @@<br>              dimm->dram_type = SPD_MEMORY_TYPE_UNDEFINED;<br>               return SPD_STATUS_CRC_ERROR;<br>  }<br>+    dimm->checksum = spd[63];<br> <br>       reg8 = spd[62];<br>       if ((reg8 & 0xf0) != 0x10) {<br>diff --git a/src/include/device/dram/ddr2.h b/src/include/device/dram/ddr2.h<br>index 288c102..7322b12 100644<br>--- a/src/include/device/dram/ddr2.h<br>+++ b/src/include/device/dram/ddr2.h<br>@@ -186,6 +186,7 @@<br>        u32 tPLL;<br>     u32 tRR;<br> <br>+  u8 checksum;<br>  /* Manufacturer ID */<br>         u32 manufacturer_id;<br>  /* ASCII part number - NULL terminated */<br></pre><p>To view, visit <a href="https://review.coreboot.org/21676">change 21676</a>. To unsubscribe, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/21676"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I53f4a3e4030ea19e10c0fe11a99a3480644f5fae </div>
<div style="display:none"> Gerrit-Change-Number: 21676 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Arthur Heymans <arthur@aheymans.xyz> </div>