fix(intel): change SMC return arguments for INTEL_SIP_SMC_MBOX_SEND_CMD

'INTEL_SIP_SMC_MBOX_SEND_CMD' SMC runtime service will only return
mailbox status and the argument's length back to the caller

Signed-off-by: Chee Hong Ang <chee.hong.ang@intel.com>
Change-Id: I50d2ae74845794cab7bf0858e742b5a70e0ea868
This commit is contained in:
Sieu Mun Tang 2022-02-19 20:36:41 +08:00
parent e93551bb3b
commit 108514ff71
1 changed files with 1 additions and 1 deletions

View File

@ -528,7 +528,7 @@ uintptr_t sip_smc_handler(uint32_t smc_fid,
status = intel_mbox_send_cmd(x1, (uint32_t *)x2, x3, x4,
(uint32_t *)x5, x6, &mbox_status,
&len_in_resp);
SMC_RET4(handle, status, mbox_status, x5, len_in_resp);
SMC_RET3(handle, status, mbox_status, len_in_resp);
default:
return socfpga_sip_handler(smc_fid, x1, x2, x3, x4,