diff options
author | Tzung-Bi Shih <[email protected]> | 2020-12-02 12:46:09 +0800 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2020-12-10 13:32:10 -0600 |
commit | 3efa0ea743b77d1611501f7d8b4f320d032d73ae (patch) | |
tree | 04968cdc6ef8dc39e25d01cce795172f5ba51aa8 /net/switchdev/switchdev.c | |
parent | 22c3df6f5574c8d401ea431c7ce24e7c5c5e7ef3 (diff) |
remoteproc/mediatek: read IPI buffer offset from FW
Reads the IPI buffer offset from the FW binary. The information resides
in addr of .ipi_buffer section.
Moves scp_ipi_init() to rproc_ops::parse_fw() phase. The IPI buffer can
be initialized only if the offset is clear.
To backward compatible to MT8183 SCP, specify the offset in the board
specific mtk_scp_of_data. Reads the default offset if the firmware
doesn't have it.
Reviewed-by: Mathieu Poirier <[email protected]>
Signed-off-by: Tzung-Bi Shih <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions