From 7cd2c073178b6d615199b439ad9a811cfb4dd820 Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Sun, 3 Jun 2018 23:04:28 +0300 Subject: ACPI S3: Depend on RELOCATABLE_RAMSTAGE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With RELOCATABLE_RAMSTAGE, S3 resume path only uses memory that is reserved from OS. So there is no need for low memory backup and recovery. Change-Id: If7f83711685ac445abf4cd1aa6b66c3391e0e554 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/26834 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans Reviewed-by: Aaron Durbin Reviewed-by: Angel Pons --- src/arch/x86/wakeup.S | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/arch/x86/wakeup.S') diff --git a/src/arch/x86/wakeup.S b/src/arch/x86/wakeup.S index ba502fefa5..1362eb4a18 100644 --- a/src/arch/x86/wakeup.S +++ b/src/arch/x86/wakeup.S @@ -64,14 +64,6 @@ __wakeup: shr $4, %eax movw %ax, (__wakeup_segment) - /* Then overwrite coreboot with our backed up memory */ - cld - movl 8(%esp), %esi - movl 12(%esp), %edi - movl 16(%esp), %ecx - shrl $2, %ecx - rep movsl - /* Activate the right segment descriptor real mode. */ ljmp $0x28, $RELOCATED(1f) 1: -- cgit v1.2.3