summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 7359a44e52..05f0cdac39 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);
}