greybus: Add Component Authentication Protocol support
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 30 Jun 2016 15:54:00 +0000 (10:54 -0500)
committerAlex Elder <elder@linaro.org>
Wed, 6 Jul 2016 22:51:32 +0000 (17:51 -0500)
commite3eda54d0b5fef23957cc4f586f4b44fd223c881
treeb119ef76cfaa147d7d71d8c6ca7284503ae3f04d
parent80b3982b8d1ca463963b9d2d406098c18add2baf
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>
drivers/staging/greybus/Makefile
drivers/staging/greybus/authentication.c [new file with mode: 0644]
drivers/staging/greybus/firmware.h
drivers/staging/greybus/fw-core.c
drivers/staging/greybus/greybus_authentication.h [new file with mode: 0644]
drivers/staging/greybus/greybus_manifest.h
drivers/staging/greybus/greybus_protocols.h