diff options
Diffstat (limited to 'src/southbridge/amd/cimx')
-rw-r--r-- | src/southbridge/amd/cimx/sb800/ramtop.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/southbridge/amd/cimx/sb800/ramtop.c b/src/southbridge/amd/cimx/sb800/ramtop.c index 3c685767bc..2281f83958 100644 --- a/src/southbridge/amd/cimx/sb800/ramtop.c +++ b/src/southbridge/amd/cimx/sb800/ramtop.c @@ -19,6 +19,8 @@ #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); @@ -26,6 +28,8 @@ int acpi_get_sleep_type(void) return (int)tmp; } +#endif + void backup_top_of_low_cacheable(uintptr_t ramtop) { u32 dword = ramtop; |