summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2014-06-20 05:21:30 +0300
committerPatrick Georgi <patrick@georgi-clan.de>2014-06-21 08:04:53 +0200
commitc3c4a38c95b90fbf713e98f7b4d1e5be18bee633 (patch)
tree260b74f1f4c1cc79bb44b4661e97fcd08629231b /src/arch
parentc3ed88636a3533b97cef5bcb445cbe61edbfae7f (diff)
downloadcoreboot-c3c4a38c95b90fbf713e98f7b4d1e5be18bee633.tar.xz
Misc: Use acpi_is_wakeup_s3()
Change-Id: I46906e6d68775edc5cfe199cfeb465db4da2691f Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/6072 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/x86/lib/ebda.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/arch/x86/lib/ebda.c b/src/arch/x86/lib/ebda.c
index fb407b6ac8..7efc66239a 100644
--- a/src/arch/x86/lib/ebda.c
+++ b/src/arch/x86/lib/ebda.c
@@ -23,17 +23,13 @@
#include <string.h>
#include <arch/io.h>
#include <arch/ebda.h>
-#if CONFIG_HAVE_ACPI_RESUME
#include <arch/acpi.h>
-#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;