intel: common: Remove urgent from mailbox async
Remove urgent argument from asynchrounous mailbox command as any urgent command should always be synchronous Signed-off-by: Abdul Halim, Muhammad Hadi Asyrafi <muhammad.hadi.asyrafi.abdul.halim@intel.com> Change-Id: Iaa64335db24df3a562470d0d1c3d6a3a71493319
This commit is contained in:
parent
f8e6a09c64
commit
d191eb247a
|
@ -141,7 +141,7 @@ void mailbox_set_qspi_direct(void);
|
|||
int mailbox_send_cmd(int job_id, unsigned int cmd, uint32_t *args,
|
||||
int len, int urgent, uint32_t *response, int resp_len);
|
||||
int mailbox_send_cmd_async(int job_id, unsigned int cmd, uint32_t *args,
|
||||
int len, int urgent, int indirect);
|
||||
int len, int indirect);
|
||||
int mailbox_read_response(int job_id, uint32_t *response, int resp_len);
|
||||
void mailbox_reset_cold(void);
|
||||
void mailbox_clear_response(void);
|
||||
|
|
|
@ -168,11 +168,8 @@ int mailbox_poll_response(int job_id, int urgent, uint32_t *response,
|
|||
}
|
||||
|
||||
int mailbox_send_cmd_async(int job_id, unsigned int cmd, uint32_t *args,
|
||||
int len, int urgent, int indirect)
|
||||
int len, int indirect)
|
||||
{
|
||||
if (urgent)
|
||||
mmio_write_32(MBOX_OFFSET + MBOX_URG, 1);
|
||||
|
||||
fill_mailbox_circular_buffer(MBOX_CLIENT_ID_CMD(MBOX_ATF_CLIENT_ID) |
|
||||
MBOX_JOB_ID_CMD(job_id) |
|
||||
MBOX_CMD_LEN_CMD(len) |
|
||||
|
|
|
@ -76,7 +76,7 @@ static int intel_fpga_sdm_write_buffer(struct fpga_config_info *buffer)
|
|||
buffer->size_written += args[2];
|
||||
mailbox_send_cmd_async(send_id++ % MBOX_MAX_JOB_ID,
|
||||
MBOX_RECONFIG_DATA, args, 3,
|
||||
CMD_CASUAL, CMD_INDIRECT);
|
||||
CMD_INDIRECT);
|
||||
|
||||
buffer->subblocks_sent++;
|
||||
max_blocks--;
|
||||
|
|
Loading…
Reference in New Issue