soc/amd/common: Skip psp_verstage on S0i3 resume
commitb90e6fdd25f7fcc9db6be50a0b117a7509c6fdb1
authorMartin Roth <martinroth@chromium.org>
Wed, 11 Aug 2021 19:34:03 +0000 (11 13:34 -0600)
committerFelix Held <felix-coreboot@felixheld.de>
Fri, 20 Aug 2021 15:14:32 +0000 (20 15:14 +0000)
treeb11bebe2c1d2a9809793ecd7a34c7ca4006159cf
parentad5b8b8ef94be2ed28a620806ca0620411578ed9
soc/amd/common: Skip psp_verstage on S0i3 resume

PSP_Verstage will take almost the entire time to run that
is allotted to S0i3 resume.  Since coreboot isn't running,
the PSP needs to handle any security requirements.  The long-
term plan is that the PSP won't even load psp_verstage on S0i3
resume, but when it is loaded, this makes sure we exit
immediately

BUG=b:177064859
TEST=Verify that PSP_verstage doesn't run on S0i3 resume

Signed-off-by: Martin Roth <martinroth@chromium.org>
Change-Id: Ia7b2560ff3d7621922ec4bc0e8793961f5d7550f
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56919
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
src/soc/amd/common/psp_verstage/psp_verstage.c