From 7b14f08f45f54bc36510e4b12febc1831cd744ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Thu, 16 Oct 2014 20:58:47 +0300 Subject: ACPI: Allocate S3 resume backup in CBMEM earlier MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These allocations are not really part of write_tables() and the move opens possibilities to use CBMEM instead of SPI Flash to restore some parts of system state after S3 resume. Change-Id: I0c36bcee3f1da525af077fc1d18677ee85097e4d Signed-off-by: Kyösti Mälkki Reviewed-on: http://review.coreboot.org/7097 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/lib/hardwaremain.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lib/hardwaremain.c') diff --git a/src/lib/hardwaremain.c b/src/lib/hardwaremain.c index 9038f57987..be052b3587 100644 --- a/src/lib/hardwaremain.c +++ b/src/lib/hardwaremain.c @@ -197,6 +197,8 @@ static boot_state_t bs_os_resume_check(void *arg) boot_states[BS_OS_RESUME].arg = wake_vector; return BS_OS_RESUME; } + + acpi_prepare_resume_backup(); #endif timestamp_add_now(TS_CBMEM_POST); -- cgit v1.2.3