diff options
Diffstat (limited to 'plat/st/stm32mp1/services/stm32mp1_svc_setup.c')
-rw-r--r-- | plat/st/stm32mp1/services/stm32mp1_svc_setup.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/plat/st/stm32mp1/services/stm32mp1_svc_setup.c b/plat/st/stm32mp1/services/stm32mp1_svc_setup.c index 72af9ff335..49375a62d0 100644 --- a/plat/st/stm32mp1/services/stm32mp1_svc_setup.c +++ b/plat/st/stm32mp1/services/stm32mp1_svc_setup.c @@ -9,6 +9,7 @@ #include <common/debug.h> #include <common/runtime_svc.h> +#include <drivers/st/scmi-msg.h> #include <lib/psci/psci.h> #include <tools_share/uuid.h> @@ -65,6 +66,13 @@ static uintptr_t stm32mp1_svc_smc_handler(uint32_t smc_fid, u_register_t x1, ret2_enabled = true; break; + case STM32_SIP_SMC_SCMI_AGENT0: + scmi_smt_fastcall_smc_entry(0); + break; + case STM32_SIP_SMC_SCMI_AGENT1: + scmi_smt_fastcall_smc_entry(1); + break; + default: WARN("Unimplemented STM32MP1 Service Call: 0x%x\n", smc_fid); ret1 = SMC_UNK; |