summaryrefslogtreecommitdiff
path: root/src/southbridge
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge')
-rw-r--r--src/southbridge/amd/agesa/hudson/ramtop.c4
-rw-r--r--src/southbridge/amd/cimx/sb800/ramtop.c4
2 files changed, 0 insertions, 8 deletions
diff --git a/src/southbridge/amd/agesa/hudson/ramtop.c b/src/southbridge/amd/agesa/hudson/ramtop.c
index 34cf74ebd2..22b291d1bb 100644
--- a/src/southbridge/amd/agesa/hudson/ramtop.c
+++ b/src/southbridge/amd/agesa/hudson/ramtop.c
@@ -19,8 +19,6 @@
#include <cbmem.h>
#include "hudson.h"
-#if !ENV_RAMSTAGE || IS_ENABLED(CONFIG_LATE_CBMEM_INIT)
-
int acpi_get_sleep_type(void)
{
u16 tmp = inw(ACPI_PM1_CNT_BLK);
@@ -28,8 +26,6 @@ int acpi_get_sleep_type(void)
return (int)tmp;
}
-#endif
-
void backup_top_of_low_cacheable(uintptr_t ramtop)
{
u32 dword = ramtop;
diff --git a/src/southbridge/amd/cimx/sb800/ramtop.c b/src/southbridge/amd/cimx/sb800/ramtop.c
index 2281f83958..3c685767bc 100644
--- a/src/southbridge/amd/cimx/sb800/ramtop.c
+++ b/src/southbridge/amd/cimx/sb800/ramtop.c
@@ -19,8 +19,6 @@
#include <cbmem.h>
#include "SBPLATFORM.h"
-#if !ENV_RAMSTAGE || IS_ENABLED(CONFIG_LATE_CBMEM_INIT)
-
int acpi_get_sleep_type(void)
{
u16 tmp = inw(PM1_CNT_BLK_ADDRESS);
@@ -28,8 +26,6 @@ int acpi_get_sleep_type(void)
return (int)tmp;
}
-#endif
-
void backup_top_of_low_cacheable(uintptr_t ramtop)
{
u32 dword = ramtop;