mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
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>
This commit is contained in:
parent
cdca986070
commit
96fe4f6485
3 changed files with 36 additions and 0 deletions
|
@ -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_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue