[coreboot-gerrit] Change in coreboot[master]: soc/amd/common: Make GetHeapBase non-static
Marshall Dawson (Code Review)
gerrit at coreboot.org
Tue Dec 5 18:08:52 CET 2017
Marshall Dawson has uploaded this change for review. ( https://review.coreboot.org/22721
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 to store additional
information in subsequent patches. Remove the static designation from
GetHeapBase.
Change-Id: Ic607432fd6500ef69b5d47793896cf12a699d8b7
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/21/22721/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/22721
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic607432fd6500ef69b5d47793896cf12a699d8b7
Gerrit-Change-Number: 22721
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/20171205/ef86c3d4/attachment-0001.html>
More information about the coreboot-gerrit
mailing list