]> git.sur5r.net Git - u-boot/blobdiff - arch/x86/cpu/ivybridge/lpc.c
Merge branch 'master' of git://git.denx.de/u-boot-x86
[u-boot] / arch / x86 / cpu / ivybridge / lpc.c
index 3efd3e841f4e8f1c7696664ac7efc33dad54a839..af5d4a89089bad99778d5aef6799af6781143e86 100644 (file)
@@ -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");