From c3c4a38c95b90fbf713e98f7b4d1e5be18bee633 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= 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/arch/x86/lib/ebda.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/arch') diff --git a/src/arch/x86/lib/ebda.c b/src/arch/x86/lib/ebda.c index fb407b6..7efc662 100644 --- a/src/arch/x86/lib/ebda.c +++ b/src/arch/x86/lib/ebda.c @@ -23,17 +23,13 @@ #include #include #include -#if CONFIG_HAVE_ACPI_RESUME #include -#endif void setup_ebda(u32 low_memory_size, u16 ebda_segment, u16 ebda_size) { -#if CONFIG_HAVE_ACPI_RESUME /* Skip in S3 resume path */ - if (acpi_slp_type == 3) + if (acpi_is_wakeup_s3()) return; -#endif if (!low_memory_size || !ebda_segment || !ebda_size) return; -- cgit v1.1