summaryrefslogtreecommitdiff
path: root/arch/x86/cpu/ivybridge/lpc.c
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2015-11-26 01:46:09 (GMT)
committerBin Meng <bmeng.cn@gmail.com>2015-12-09 09:44:56 (GMT)
commit789fa275b3750e60c60cb3d18eabc9467892c257 (patch)
tree0aff843729891c1fd2deec2a674c51aae93c4a31 /arch/x86/cpu/ivybridge/lpc.c
parentd475d59020af32bd5b55ca48a5bc73213e53a7c8 (diff)
downloadu-boot-789fa275b3750e60c60cb3d18eabc9467892c257.tar.xz
x86: Remove HAVE_ACPI_RESUME
These are currently dead codes. Until we have complete ACPI support, we don't know if it works or not. Remove to avoid confusion. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/cpu/ivybridge/lpc.c')
-rw-r--r--arch/x86/cpu/ivybridge/lpc.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/x86/cpu/ivybridge/lpc.c b/arch/x86/cpu/ivybridge/lpc.c
index 3efd3e8..af5d4a8 100644
--- a/arch/x86/cpu/ivybridge/lpc.c
+++ b/arch/x86/cpu/ivybridge/lpc.c
@@ -240,15 +240,6 @@ static void pch_rtc_init(pci_dev_t dev)
}
debug("rtc_failed = 0x%x\n", rtc_failed);
-#if CONFIG_HAVE_ACPI_RESUME
- /* Avoid clearing pending interrupts and resetting the RTC control
- * register in the resume path because the Linux kernel relies on
- * this to know if it should restart the RTC timerqueue if the wake
- * was due to the RTC alarm.
- */
- if (acpi_get_slp_type() == 3)
- return;
-#endif
/* TODO: Handle power failure */
if (rtc_failed)
printf("RTC power failed\n");