aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/jetway/nf81-t56n-lf/agesawrapper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/jetway/nf81-t56n-lf/agesawrapper.c')
-rw-r--r--src/mainboard/jetway/nf81-t56n-lf/agesawrapper.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/mainboard/jetway/nf81-t56n-lf/agesawrapper.c b/src/mainboard/jetway/nf81-t56n-lf/agesawrapper.c
index 89f3c01c46..21930e4304 100644
--- a/src/mainboard/jetway/nf81-t56n-lf/agesawrapper.c
+++ b/src/mainboard/jetway/nf81-t56n-lf/agesawrapper.c
@@ -23,9 +23,7 @@
#define __SIMPLE_DEVICE__
-#include <arch/acpi.h>
#include <arch/io.h>
-#include <cbmem.h>
#include <cpu/x86/msr.h>
#include <cpu/x86/mtrr.h>
#include <stdint.h>
@@ -181,23 +179,6 @@ AGESA_STATUS agesawrapper_amdinitearly(void)
return status;
}
-UINT32 GetHeapBase(
- AMD_CONFIG_PARAMS *StdHeader
- )
-{
- UINT32 heap;
-
-#if CONFIG_HAVE_ACPI_RESUME
- /* Both romstage and ramstage has this S3 detect. */
- if (acpi_get_sleep_type() == 3)
- heap = (UINT32)cbmem_find(CBMEM_ID_RESUME_SCRATCH) + (CONFIG_HIGH_SCRATCH_MEMORY_SIZE - BIOS_HEAP_SIZE); /* himem_heap_base + high_stack_size */
- else
-#endif
- heap = BIOS_HEAP_START_ADDRESS; /* low mem */
-
- return heap;
-}
-
AGESA_STATUS agesawrapper_amdinitpost(void)
{
AGESA_STATUS status;