diff options
author | Ashok Reddy Soma | 2022-07-22 02:46:57 -0600 |
---|---|---|
committer | Michal Simek | 2022-07-26 08:36:20 +0200 |
commit | cce33515010287a5bd7f4b6f9ebce0f56268a7f1 (patch) | |
tree | f91c8a98fe46778c138607eabb2627df31a838d3 /include/zynqmp_firmware.h | |
parent | 7b4e365e49c76df88917883bd59dc9799131bac2 (diff) |
mailbox: zynqmp: Move struct zynqmp_ipi_msg from sys_proto.h
Mailbox driver might be need for Versal and other future platforms.
To remove the dependency, move struct zynqmp_ipi_msg to
zynqmp_firmware.h so that mailbox driver compiles for other platforms
easily.
Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/20220722084658.30995-5-ashok.reddy.soma@xilinx.com
Diffstat (limited to 'include/zynqmp_firmware.h')
-rw-r--r-- | include/zynqmp_firmware.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/zynqmp_firmware.h b/include/zynqmp_firmware.h index 52bc20f195e..f7a4a39d350 100644 --- a/include/zynqmp_firmware.h +++ b/include/zynqmp_firmware.h @@ -490,4 +490,9 @@ enum zynqmp_pm_request_ack { /* PM API versions */ #define PM_API_VERSION_2 2 +struct zynqmp_ipi_msg { + size_t len; + u32 *buf; +}; + #endif /* _ZYNQMP_FIRMWARE_H_ */ |