soc/amd/common: Make agesa_heap_base non-static
The cbmem location holding the heap will be used to store additional information in subsequent patches. Remove the static designation from agesa_heap_base. Change-Id: Ic607432fd6500ef69b5d47793896cf12a699d8b7 Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-on: https://review.coreboot.org/22721 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
21c5e15124
commit
2d51dd6625
|
@ -62,4 +62,6 @@ void SetNbEnvParams(GNB_ENV_CONFIGURATION *params);
|
|||
void SetFchMidParams(FCH_INTERFACE *params);
|
||||
void SetNbMidParams(GNB_MID_CONFIGURATION *params);
|
||||
|
||||
void *agesa_heap_base(void);
|
||||
|
||||
#endif /* __AGESAWRAPPER_H__ */
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#include <cbmem.h>
|
||||
#include <string.h>
|
||||
|
||||
static void *agesa_heap_base(void)
|
||||
void *agesa_heap_base(void)
|
||||
{
|
||||
struct cbmem_usage *heap;
|
||||
heap = (struct cbmem_usage *)cbmem_add(CBMEM_ID_RESUME_SCRATCH,
|
||||
|
|
Loading…
Reference in New Issue