diff --git a/plat/xilinx/versal/pm_service/pm_defs.h b/plat/xilinx/versal/pm_service/pm_defs.h index fa35066070f1bbda9ea2d33f90ae7c178f5d9cb2..e8a3f3dbd6bc51861e683e868fa2833c07eb71cf 100644 --- a/plat/xilinx/versal/pm_service/pm_defs.h +++ b/plat/xilinx/versal/pm_service/pm_defs.h @@ -35,6 +35,7 @@ #define PM_SET_REQUIREMENT 15U #define PM_RESET_ASSERT 17U #define PM_RESET_GET_STATUS 18U +#define PM_INIT_FINALIZE 21U #define PM_PINCTRL_REQUEST 28U #define PM_PINCTRL_RELEASE 29U #define PM_PINCTRL_GET_FUNCTION 30U diff --git a/plat/xilinx/versal/pm_service/pm_svc_main.c b/plat/xilinx/versal/pm_service/pm_svc_main.c index cb2ac55342401fb4446ae54735073e9880576a6e..9e7a5885eaa09bc13cbccc0d9b55e4d24501c8f9 100644 --- a/plat/xilinx/versal/pm_service/pm_svc_main.c +++ b/plat/xilinx/versal/pm_service/pm_svc_main.c @@ -152,6 +152,9 @@ uint64_t pm_smc_handler(uint32_t smc_fid, uint64_t x1, uint64_t x2, uint64_t x3, ((uint64_t)reset_status << 32)); } + case PM_INIT_FINALIZE: + SMC_RET1(handle, (uint64_t)PM_RET_SUCCESS); + case PM_PINCTRL_REQUEST: ret = pm_pinctrl_request(pm_arg[0]); SMC_RET1(handle, (uint64_t)ret);