summaryrefslogtreecommitdiff
path: root/src/soc/amd/common/block/pi
diff options
context:
space:
mode:
authorMarshall Dawson <marshalldawson3rd@gmail.com>2018-03-28 20:21:10 -0600
committerPatrick Georgi <pgeorgi@google.com>2018-04-06 06:44:18 +0000
commit1dd7a11ec4853b39e81f861414c113c886ed7774 (patch)
tree5b714dfca00f605b66386917eebf55342e9fbcb1 /src/soc/amd/common/block/pi
parent679f923cfc53bd0ead59a6bf56ca7a46bde5c62d (diff)
downloadcoreboot-1dd7a11ec4853b39e81f861414c113c886ed7774.tar.xz
amd/common/block/pi: Make agesa_heap_base() static
Convert agesa_heap_base() to static since it's unused outside of heapmanager.c. Change-Id: I3ee162985ca1ea36461ea413416d98451a700f8c Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-on: https://review.coreboot.org/25457 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Richard Spiegel <richard.spiegel@silverbackltd.com>
Diffstat (limited to 'src/soc/amd/common/block/pi')
-rw-r--r--src/soc/amd/common/block/pi/heapmanager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/amd/common/block/pi/heapmanager.c b/src/soc/amd/common/block/pi/heapmanager.c
index 79c8403f3e..a469a45f69 100644
--- a/src/soc/amd/common/block/pi/heapmanager.c
+++ b/src/soc/amd/common/block/pi/heapmanager.c
@@ -19,7 +19,7 @@
#include <cbmem.h>
#include <string.h>
-void *agesa_heap_base(void)
+static void *agesa_heap_base(void)
{
return cbmem_add(CBMEM_ID_RESUME_SCRATCH, BIOS_HEAP_SIZE);
}