From 96fe4f6485e92ed9da464c96c5f536698c5ee66d Mon Sep 17 00:00:00 2001 From: Siew Chin Lim Date: Thu, 25 Mar 2021 14:07:45 +0800 Subject: arm: socfpga: smc: Add function to get usercode Add function to send mailbox command via SMC to get usercode from SDM. Signed-off-by: Siew Chin Lim Reviewed-by: Ley Foon Tan --- arch/arm/mach-socfpga/include/mach/smc_api.h | 1 + 1 file changed, 1 insertion(+) (limited to 'arch/arm/mach-socfpga/include') diff --git a/arch/arm/mach-socfpga/include/mach/smc_api.h b/arch/arm/mach-socfpga/include/mach/smc_api.h index bbefdd8..6b5b7ea 100644 --- a/arch/arm/mach-socfpga/include/mach/smc_api.h +++ b/arch/arm/mach-socfpga/include/mach/smc_api.h @@ -9,5 +9,6 @@ int invoke_smc(u32 func_id, u64 *args, int arg_len, u64 *ret_arg, int ret_len); int smc_send_mailbox(u32 cmd, u32 len, u32 *arg, u8 urgent, u32 *resp_buf_len, u32 *resp_buf); +int smc_get_usercode(u32 *usercode); #endif /* _SMC_API_H_ */ -- cgit v1.1