[coreboot-gerrit] Change in coreboot[master]: soc/amd/common: Make GetHeapBase non-static

Marshall Dawson (Code Review) gerrit at coreboot.org
Thu Nov 30 17:49:53 CET 2017


Marshall Dawson has uploaded this change for review. ( https://review.coreboot.org/22646


Change subject: soc/amd/common: Make GetHeapBase non-static
......................................................................

soc/amd/common: Make GetHeapBase non-static

The cbmem location holding the heap will be used for to store additional
information in subsequent patches.  Remove the static designation from
GetHeapBase.

Change-Id: I529551bf927914e081cc078eb91ddf4005334767
Signed-off-by: Marshall Dawson <marshalldawson3rd at gmail.com>
---
M src/soc/amd/common/agesawrapper.h
M src/soc/amd/common/heapmanager.c
2 files changed, 3 insertions(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/46/22646/1

diff --git a/src/soc/amd/common/agesawrapper.h b/src/soc/amd/common/agesawrapper.h
index 6ddc658..a000328 100644
--- a/src/soc/amd/common/agesawrapper.h
+++ b/src/soc/amd/common/agesawrapper.h
@@ -55,4 +55,6 @@
 void OemPostParams(AMD_POST_PARAMS *PostParams);
 void SetMemParams(AMD_POST_PARAMS *PostParams);
 
+void *GetHeapBase(void);
+
 #endif /* __AGESAWRAPPER_H__ */
diff --git a/src/soc/amd/common/heapmanager.c b/src/soc/amd/common/heapmanager.c
index 22d95f0..f679648 100644
--- a/src/soc/amd/common/heapmanager.c
+++ b/src/soc/amd/common/heapmanager.c
@@ -19,7 +19,7 @@
 #include <cbmem.h>
 #include <string.h>
 
-static void *GetHeapBase(void)
+void *GetHeapBase(void)
 {
 	struct cbmem_usage *heap;
 	heap = (struct cbmem_usage *)cbmem_add(CBMEM_ID_RESUME_SCRATCH,

-- 
To view, visit https://review.coreboot.org/22646
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I529551bf927914e081cc078eb91ddf4005334767
Gerrit-Change-Number: 22646
Gerrit-PatchSet: 1
Gerrit-Owner: Marshall Dawson <marshalldawson3rd at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20171130/5cbc8d70/attachment-0001.html>


More information about the coreboot-gerrit mailing list