From c3c4a38c95b90fbf713e98f7b4d1e5be18bee633 Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Fri, 20 Jun 2014 05:21:30 +0300 Subject: Misc: Use acpi_is_wakeup_s3() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I46906e6d68775edc5cfe199cfeb465db4da2691f Signed-off-by: Kyösti Mälkki Reviewed-on: http://review.coreboot.org/6072 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan Reviewed-by: Patrick Georgi --- src/drivers/elog/elog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/drivers') diff --git a/src/drivers/elog/elog.c b/src/drivers/elog/elog.c index de349281d6..5740076a34 100644 --- a/src/drivers/elog/elog.c +++ b/src/drivers/elog/elog.c @@ -607,7 +607,7 @@ int elog_init(void) #if !defined(__SMM__) /* Log boot count event except in S3 resume */ - if (CONFIG_ELOG_BOOT_COUNT && acpi_slp_type != 3) + if (CONFIG_ELOG_BOOT_COUNT && !acpi_is_wakeup_s3()) elog_add_event_dword(ELOG_TYPE_BOOT, boot_count_read()); /* Check and log POST codes from previous boot */ -- cgit v1.2.3