summaryrefslogtreecommitdiff
path: root/src/mainboard/asus
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:25 +0000
commitc2a921bec155e42d0ae17a8d461a0321d7e1c39e (patch)
treebe5fc21b655da59e6721ba992a1ce87dbb04a6d7 /src/mainboard/asus
parenta26377b063d9fe33ddf36dec04b7ce7ec9defba5 (diff)
downloadcoreboot-c2a921bec155e42d0ae17a8d461a0321d7e1c39e.tar.xz
asus/kcma-d8: 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: I464feb1655a51a937b6cf53508dd5c7aa0d8f791 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/21395 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: Raptor Engineering Automated Test Stand <noreply@raptorengineeringinc.com>
Diffstat (limited to 'src/mainboard/asus')
-rw-r--r--src/mainboard/asus/kcma-d8/romstage.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/asus/kcma-d8/romstage.c b/src/mainboard/asus/kcma-d8/romstage.c
index 24cefe02b7..a8f7dafc3f 100644
--- a/src/mainboard/asus/kcma-d8/romstage.c
+++ b/src/mainboard/asus/kcma-d8/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>
@@ -567,6 +568,8 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
cbmem_initialize_empty();
post_code(0x41);
+ romstage_handoff_init(s3resume);
+
amdmct_cbmem_store_info(sysinfo);
#endif