summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2017-09-04 23:58:38 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2017-09-06 22:16:42 +0000
commit8a8386eeb9356b73fc7bc706298706656ceca385 (patch)
treebcddcdeefeadba1e03160c4bdc992493fa4a424e
parentc2a921bec155e42d0ae17a8d461a0321d7e1c39e (diff)
downloadcoreboot-8a8386eeb9356b73fc7bc706298706656ceca385.tar.xz
asus/kgpe-d16: Add romstage_handoff
Fix regression caused by commit 9e94dbf ACPI: Get S3 resume state from romstage_handoff Boards with EARLY_CBMEM_INIT are required to provide romstage_handoff structure to signal S3 resume path. Change-Id: I7c9065ccc48dfbdefade698ed275756f17dff7a0 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/21396 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
-rw-r--r--src/mainboard/asus/kgpe-d16/romstage.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/asus/kgpe-d16/romstage.c b/src/mainboard/asus/kgpe-d16/romstage.c
index 899168a6f9..a5437e6afa 100644
--- a/src/mainboard/asus/kgpe-d16/romstage.c
+++ b/src/mainboard/asus/kgpe-d16/romstage.c
@@ -26,6 +26,7 @@
#include <device/pnp_def.h>
#include <cpu/x86/lapic.h>
#include <console/console.h>
+#include <romstage_handoff.h>
#include <timestamp.h>
#include <lib.h>
#include <spd.h>
@@ -606,6 +607,9 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
cbmem_initialize();
else
cbmem_initialize_empty();
+
+ romstage_handoff_init(s3resume);
+
post_code(0x41);
amdmct_cbmem_store_info(sysinfo);