xilinx: versal: Add PM_INIT_FINALIZE API for versal
PM_INIT_FINALIZE is not required for versal. To use Linux Zynqmp PM driver for versal, handle PM_INIT_FINALIZE API in ATF for versal by always returning SUCCESS. Signed-off-by: Tejas Patel <tejas.patel@xilinx.com> Signed-off-by: Jolly Shah <jolly.shah@xilinx.com> Change-Id: I6fe5445d78e713d70282ac8931ff8b17c96b2a14
This commit is contained in:
parent
4b0f32a411
commit
ad19911c72
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue