Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
1665bcd0
Commit
1665bcd0
authored
May 23, 2019
by
Sandrine Bailleux
Committed by
TrustedFirmware Code Review
May 23, 2019
Browse files
Merge "drivers: scmi: scmi_sq: Modify wrong payload length" into integration
parents
b27c7d6f
292bc551
Changes
1
Show whitespace changes
Inline
Side-by-side
drivers/arm/css/scmi/vendor/scmi_sq.c
View file @
1665bcd0
...
@@ -18,6 +18,8 @@
...
@@ -18,6 +18,8 @@
/* SCMI messge ID to get the available DRAM region */
/* SCMI messge ID to get the available DRAM region */
#define SCMI_VENDOR_EXT_MEMINFO_GET_MSG 0x3
#define SCMI_VENDOR_EXT_MEMINFO_GET_MSG 0x3
#define SCMI_VENDOR_EXT_MEMINFO_GET_MSG_LEN 4
/*
/*
* API to get the available DRAM region
* API to get the available DRAM region
*/
*/
...
@@ -35,7 +37,7 @@ int scmi_get_draminfo(void *p, struct draminfo *info)
...
@@ -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
=
(
mailbox_mem_t
*
)(
ch
->
info
->
scmi_mbx_mem
);
mbx_mem
->
msg_header
=
SCMI_MSG_CREATE
(
SCMI_SYS_VENDOR_EXT_PROTO_ID
,
mbx_mem
->
msg_header
=
SCMI_MSG_CREATE
(
SCMI_SYS_VENDOR_EXT_PROTO_ID
,
SCMI_VENDOR_EXT_MEMINFO_GET_MSG
,
token
);
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
;
mbx_mem
->
flags
=
SCMI_FLAG_RESP_POLL
;
scmi_send_sync_command
(
ch
);
scmi_send_sync_command
(
ch
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment