<p>Marshall Dawson has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/22646">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">soc/amd/common: Make GetHeapBase non-static<br><br>The cbmem location holding the heap will be used for to store additional<br>information in subsequent patches.  Remove the static designation from<br>GetHeapBase.<br><br>Change-Id: I529551bf927914e081cc078eb91ddf4005334767<br>Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com><br>---<br>M src/soc/amd/common/agesawrapper.h<br>M src/soc/amd/common/heapmanager.c<br>2 files changed, 3 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/46/22646/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/src/soc/amd/common/agesawrapper.h b/src/soc/amd/common/agesawrapper.h<br>index 6ddc658..a000328 100644<br>--- a/src/soc/amd/common/agesawrapper.h<br>+++ b/src/soc/amd/common/agesawrapper.h<br>@@ -55,4 +55,6 @@<br> void OemPostParams(AMD_POST_PARAMS *PostParams);<br> void SetMemParams(AMD_POST_PARAMS *PostParams);<br> <br>+void *GetHeapBase(void);<br>+<br> #endif /* __AGESAWRAPPER_H__ */<br>diff --git a/src/soc/amd/common/heapmanager.c b/src/soc/amd/common/heapmanager.c<br>index 22d95f0..f679648 100644<br>--- a/src/soc/amd/common/heapmanager.c<br>+++ b/src/soc/amd/common/heapmanager.c<br>@@ -19,7 +19,7 @@<br> #include <cbmem.h><br> #include <string.h><br> <br>-static void *GetHeapBase(void)<br>+void *GetHeapBase(void)<br> {<br>    struct cbmem_usage *heap;<br>     heap = (struct cbmem_usage *)cbmem_add(CBMEM_ID_RESUME_SCRATCH,<br></pre><p>To view, visit <a href="https://review.coreboot.org/22646">change 22646</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/22646"/><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: I529551bf927914e081cc078eb91ddf4005334767 </div>
<div style="display:none"> Gerrit-Change-Number: 22646 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Marshall Dawson <marshalldawson3rd@gmail.com> </div>