diff options
author | Siew Chin Lim <elly.siew.chin.lim@intel.com> | 2021-03-25 09:07:45 +0300 |
---|---|---|
committer | Ley Foon Tan <ley.foon.tan@intel.com> | 2021-04-08 12:29:13 +0300 |
commit | 96fe4f6485e92ed9da464c96c5f536698c5ee66d (patch) | |
tree | 158ad436e7a2568ec6e0d6f7fec3e86eac8a9455 /arch/arm/mach-socfpga/include/mach | |
parent | cdca9860705291de736d40ddc52acba2daaec106 (diff) | |
download | u-boot-96fe4f6485e92ed9da464c96c5f536698c5ee66d.tar.xz |
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 <elly.siew.chin.lim@intel.com>
Reviewed-by: Ley Foon Tan <ley.foon.tan@intel.com>
Diffstat (limited to 'arch/arm/mach-socfpga/include/mach')
-rw-r--r-- | arch/arm/mach-socfpga/include/mach/smc_api.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-socfpga/include/mach/smc_api.h b/arch/arm/mach-socfpga/include/mach/smc_api.h index bbefdd8dd9..6b5b7eadc6 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_ */ |