summaryrefslogtreecommitdiff
path: root/drivers/staging/greybus/firmware.h
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2016-06-30 10:54:00 -0500
committerAlex Elder <elder@linaro.org>2016-07-06 17:51:32 -0500
commite3eda54d0b5fef23957cc4f586f4b44fd223c881 (patch)
treeb119ef76cfaa147d7d71d8c6ca7284503ae3f04d /drivers/staging/greybus/firmware.h
parent80b3982b8d1ca463963b9d2d406098c18add2baf (diff)
greybus: Add Component Authentication Protocol support
This patch adds Component Authentication Protocol support in greybus. The purpose of the CAP protocol is to authenticate the Module hardware, and it can only be used when it is present as part of the firmware-management bundle, on a separate CPort. Compile tested only. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Reviewed-by: Jun Li <li_jun@projectara.com> Tested-by: Jun Li <li_jun@projectara.com> Signed-off-by: Alex Elder <elder@linaro.org>
Diffstat (limited to 'drivers/staging/greybus/firmware.h')
-rw-r--r--drivers/staging/greybus/firmware.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/staging/greybus/firmware.h b/drivers/staging/greybus/firmware.h
index a82d0203971b..fb955379cfe4 100644
--- a/drivers/staging/greybus/firmware.h
+++ b/drivers/staging/greybus/firmware.h
@@ -25,4 +25,10 @@ int gb_fw_download_request_handler(struct gb_operation *op);
int gb_fw_download_connection_init(struct gb_connection *connection);
void gb_fw_download_connection_exit(struct gb_connection *connection);
+/* CAP Protocol specific functions */
+int cap_init(void);
+void cap_exit(void);
+int gb_cap_connection_init(struct gb_connection *connection);
+void gb_cap_connection_exit(struct gb_connection *connection);
+
#endif /* __FIRMWARE_H */