Kyösti Mälkki (kyosti.malkki@gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6074
-gerrit
commit e4ddbba7cc521ab392968b26a9b753f99d78ae18 Author: Kyösti Mälkki kyosti.malkki@gmail.com Date: Fri Jun 20 05:38:07 2014 +0300
PC80 RTC: Use acpi_is_wakeup_s3()
Change-Id: Idc4c47f3802019c2853ec71f8e9c057c3ab8d3ee Signed-off-by: Kyösti Mälkki kyosti.malkki@gmail.com --- src/drivers/pc80/mc146818rtc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/drivers/pc80/mc146818rtc.c b/src/drivers/pc80/mc146818rtc.c index 6f8a4eb..73e82ff 100644 --- a/src/drivers/pc80/mc146818rtc.c +++ b/src/drivers/pc80/mc146818rtc.c @@ -72,16 +72,14 @@ void rtc_init(int invalid) #endif
#ifndef __PRE_RAM__ -#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 timer queue if the wake * was due to the RTC alarm. */ - if (acpi_slp_type == 3) + if (acpi_is_wakeup_s3()) return; -#endif /* CONFIG_HAVE_ACPI_RESUME */ #endif /* __PRE_RAM__ */
printk(BIOS_DEBUG, "RTC Init\n");