<p>Marshall Dawson has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/21852">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">amd/stoneyridge: Clarify SPD structure in chip.h<br><br>Add #define values and clarify the spdAddrLookup array.<br><br>Change-Id: I39b9913a2fd52f9105e4a771f651a8d9649202e6<br>Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com><br>---<br>M src/soc/amd/stoneyridge/chip.h<br>1 file changed, 6 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/52/21852/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/src/soc/amd/stoneyridge/chip.h b/src/soc/amd/stoneyridge/chip.h<br>index 216a819..01127b0 100644<br>--- a/src/soc/amd/stoneyridge/chip.h<br>+++ b/src/soc/amd/stoneyridge/chip.h<br>@@ -18,6 +18,10 @@<br> <br> #include <stdint.h><br> <br>+#define MAX_NODES 1<br>+#define MAX_DRAM_CH 1<br>+#define MAX_DIMMS_PER_CH 2<br>+<br> struct soc_amd_stoneyridge_config {<br>        u32 uma_mode;<br>                 /* Do not enable UMA in the system. */<br>@@ -43,7 +47,8 @@<br>             #define UMATYPE_NONLEGACY 1<br>   /* Size in units of 64KB, N/A for none and auto */<br>    u32 uma_size;<br>-        u8 spdAddrLookup[1][1][2];<br>+<br>+        u8 spdAddrLookup[MAX_NODES][MAX_DRAM_CH][MAX_DIMMS_PER_CH];<br>   u32 ide0_enable : 1;<br>  u32 sata0_enable : 1;<br>         u32 boot_switch_sata_ide : 1;<br></pre><p>To view, visit <a href="https://review.coreboot.org/21852">change 21852</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/21852"/><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: I39b9913a2fd52f9105e4a771f651a8d9649202e6 </div>
<div style="display:none"> Gerrit-Change-Number: 21852 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Marshall Dawson <marshalldawson3rd@gmail.com> </div>