diff options
Diffstat (limited to 'src/southbridge/amd/cimx/sb800/ramtop.c')
-rw-r--r-- | src/southbridge/amd/cimx/sb800/ramtop.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/southbridge/amd/cimx/sb800/ramtop.c b/src/southbridge/amd/cimx/sb800/ramtop.c deleted file mode 100644 index 483716c202..0000000000 --- a/src/southbridge/amd/cimx/sb800/ramtop.c +++ /dev/null @@ -1,13 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#include <stdint.h> -#include <arch/io.h> -#include <acpi/acpi.h> -#include "SBPLATFORM.h" - -int acpi_get_sleep_type(void) -{ - u16 tmp = inw(PM1_CNT_BLK_ADDRESS); - tmp = ((tmp & (7 << 10)) >> 10); - return (int)tmp; -} |