mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-22 20:38:03 +00:00
fix(intel): update mailbox SDM printout message
The printout message is misleading. Update the message content and mask out the return code. Change-Id: I08acb73894f8504b2773a19dbb10b42a65fcda5d Signed-off-by: Jit Loon Lim <jit.loon.lim@intel.com>
This commit is contained in:
parent
5d38dc09eb
commit
569a03c711
1 changed files with 2 additions and 2 deletions
|
@ -168,7 +168,7 @@ int mailbox_read_response(unsigned int *job_id, uint32_t *response,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (MBOX_RESP_ERR(resp_data) > 0U) {
|
if (MBOX_RESP_ERR(resp_data) > 0U) {
|
||||||
INFO("Error in response: %x\n", resp_data);
|
INFO("SDM response: Return Code: 0x%x\n", MBOX_RESP_ERR(resp_data));
|
||||||
return -MBOX_RESP_ERR(resp_data);
|
return -MBOX_RESP_ERR(resp_data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -337,7 +337,7 @@ int mailbox_poll_response(uint32_t job_id, uint32_t urgent, uint32_t *response,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (MBOX_RESP_ERR(resp_data) > 0U) {
|
if (MBOX_RESP_ERR(resp_data) > 0U) {
|
||||||
INFO("Error in response: %x\n", resp_data);
|
INFO("SDM response: Return Code: 0x%x\n", MBOX_RESP_ERR(resp_data));
|
||||||
return -MBOX_RESP_ERR(resp_data);
|
return -MBOX_RESP_ERR(resp_data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue