diff options
Diffstat (limited to 'src/southbridge/intel/ibexpeak')
-rw-r--r-- | src/southbridge/intel/ibexpeak/lpc.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/southbridge/intel/ibexpeak/lpc.c b/src/southbridge/intel/ibexpeak/lpc.c index 2362649ae6..4f86e9b80b 100644 --- a/src/southbridge/intel/ibexpeak/lpc.c +++ b/src/southbridge/intel/ibexpeak/lpc.c @@ -408,8 +408,8 @@ static void enable_clock_gating(struct device *dev) static void pch_set_acpi_mode(void) { - if (!acpi_is_wakeup_s3() && CONFIG(HAVE_SMI_HANDLER)) { - apm_control(APM_CNT_ACPI_DISABLE); // Disable ACPI mode + if (!acpi_is_wakeup_s3()) { + apm_control(APM_CNT_ACPI_DISABLE); } } @@ -722,11 +722,9 @@ static void lpc_final(struct device *dev) spi_finalize_ops(); /* Call SMM finalize() handlers before resume */ - if (CONFIG(HAVE_SMI_HANDLER)) { - if (CONFIG(INTEL_CHIPSET_LOCKDOWN) || - acpi_is_wakeup_s3()) { - apm_control(APM_CNT_FINALIZE); - } + if (CONFIG(INTEL_CHIPSET_LOCKDOWN) || + acpi_is_wakeup_s3()) { + apm_control(APM_CNT_FINALIZE); } } |