Commit 3ad9a6f
committed
ipc: move IPC payload write to SOF Zephyr IPC client code
In commit 7ba1a08 ("ipc4: add support for ipc4 boot message and
data"), ipc_prepare_to_send() function was added to prepare the IPC
client code to handle multiple IPC versions. This function has however
not been used in all IPC client code in SOF, and when Intel IPC3 support
was removed, only remaining usage is in ipc-zephyr.c.
As usage is limited, change the semantics of ipc_prepare_to_send()
to only modify the header fields (e.g. for IPC4 set the extension
field), but remove the code to write payload to mailbox. Instead
move this code to ipc-zephyr.c. This will allow to move the payload
handling later to Zephyr drivers, and out from common codec.
Signed-off-by: Kai Vehmanen <[email protected]>1 parent 08938ba commit 3ad9a6f
3 files changed
+3
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
331 | 334 | | |
332 | 335 | | |
333 | 336 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1500 | 1500 | | |
1501 | 1501 | | |
1502 | 1502 | | |
1503 | | - | |
1504 | | - | |
1505 | 1503 | | |
1506 | 1504 | | |
1507 | 1505 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1592 | 1592 | | |
1593 | 1593 | | |
1594 | 1594 | | |
1595 | | - | |
1596 | | - | |
1597 | | - | |
1598 | 1595 | | |
1599 | 1596 | | |
1600 | 1597 | | |
| |||
0 commit comments