From 8a8386eeb9356b73fc7bc706298706656ceca385 Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Mon, 4 Sep 2017 23:58:38 +0300 Subject: asus/kgpe-d16: Add romstage_handoff MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: https://review.coreboot.org/21396 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/mainboard/asus/kgpe-d16/romstage.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mainboard') 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 #include #include +#include #include #include #include @@ -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); -- cgit v1.2.3