summaryrefslogtreecommitdiffstats
path: root/src/soc/amd/common/block/pi/amd_resume_final.c
blob: 380ffc8b1aeda6b3fd80e708b864ff52eccebcb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* SPDX-License-Identifier: GPL-2.0-only */

#include <bootstate.h>
#include <amdblocks/agesawrapper_call.h>

static void agesawrapper_s3finalrestore(void *unused)
{
	do_agesawrapper(AMD_S3FINAL_RESTORE, "amds3finalrestore");
}

BOOT_STATE_INIT_ENTRY(BS_OS_RESUME, BS_ON_ENTRY,
			agesawrapper_s3finalrestore, NULL);