diff options
Diffstat (limited to 'src/southbridge/intel/common/pmbase.c')
-rw-r--r-- | src/southbridge/intel/common/pmbase.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/southbridge/intel/common/pmbase.c b/src/southbridge/intel/common/pmbase.c index 265588230f..bbd2c25599 100644 --- a/src/southbridge/intel/common/pmbase.c +++ b/src/southbridge/intel/common/pmbase.c @@ -75,6 +75,11 @@ u8 read_pmbase8(const u8 addr) return inb(lpc_get_pmbase() + addr); } +int acpi_get_sleep_type(void) +{ + return acpi_sleep_from_pm1(read_pmbase32(PM1_CNT)); +} + int platform_is_resuming(void) { u16 reg16 = read_pmbase16(PM1_STS); |