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@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,