mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-19 02:54:24 +00:00
Merge "drivers: scmi: scmi_sq: Modify wrong payload length" into integration
This commit is contained in:
commit
1665bcd0cf
1 changed files with 3 additions and 1 deletions
4
drivers/arm/css/scmi/vendor/scmi_sq.c
vendored
4
drivers/arm/css/scmi/vendor/scmi_sq.c
vendored
|
@ -18,6 +18,8 @@
|
|||
/* SCMI messge ID to get the available DRAM region */
|
||||
#define SCMI_VENDOR_EXT_MEMINFO_GET_MSG 0x3
|
||||
|
||||
#define SCMI_VENDOR_EXT_MEMINFO_GET_MSG_LEN 4
|
||||
|
||||
/*
|
||||
* API to get the available DRAM region
|
||||
*/
|
||||
|
@ -35,7 +37,7 @@ int scmi_get_draminfo(void *p, struct draminfo *info)
|
|||
mbx_mem = (mailbox_mem_t *)(ch->info->scmi_mbx_mem);
|
||||
mbx_mem->msg_header = SCMI_MSG_CREATE(SCMI_SYS_VENDOR_EXT_PROTO_ID,
|
||||
SCMI_VENDOR_EXT_MEMINFO_GET_MSG, token);
|
||||
mbx_mem->len = 8;
|
||||
mbx_mem->len = SCMI_VENDOR_EXT_MEMINFO_GET_MSG_LEN;
|
||||
mbx_mem->flags = SCMI_FLAG_RESP_POLL;
|
||||
|
||||
scmi_send_sync_command(ch);
|
||||
|
|
Loading…
Add table
Reference in a new issue