summaryrefslogtreecommitdiffstats
path: root/src/soc/amd/common/psp_verstage/psp_verstage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd/common/psp_verstage/psp_verstage.c')
-rw-r--r--src/soc/amd/common/psp_verstage/psp_verstage.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/soc/amd/common/psp_verstage/psp_verstage.c b/src/soc/amd/common/psp_verstage/psp_verstage.c
index 7359a44e52d5..05f0cdac3940 100644
--- a/src/soc/amd/common/psp_verstage/psp_verstage.c
+++ b/src/soc/amd/common/psp_verstage/psp_verstage.c
@@ -251,7 +251,11 @@ void Main(void)
svc_get_boot_mode(&bootmode);
if (bootmode == PSP_BOOT_MODE_S0i3_RESUME) {
psp_verstage_s0i3_resume();
+
+ post_code(POSTCODE_UNMAP_FCH_DEVICES);
unmap_fch_devices();
+
+ post_code(POSTCODE_LEAVING_VERSTAGE);
svc_exit(0);
}