blob: 380ffc8b1aeda6b3fd80e708b864ff52eccebcb3 [file] [log] [blame]
Angel Ponsae593872020-04-04 18:50:57 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Marshall Dawsonbb6c3f52018-01-25 14:10:54 -07002
3#include <bootstate.h>
4#include <amdblocks/agesawrapper_call.h>
5
6static void agesawrapper_s3finalrestore(void *unused)
7{
Kyösti Mälkki6e512c42018-06-14 06:57:05 +03008 do_agesawrapper(AMD_S3FINAL_RESTORE, "amds3finalrestore");
Marshall Dawsonbb6c3f52018-01-25 14:10:54 -07009}
10
11BOOT_STATE_INIT_ENTRY(BS_OS_RESUME, BS_ON_ENTRY,
12 agesawrapper_s3finalrestore, NULL);