summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/greybus_protocols.h
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2015-10-07 15:40:24 -0400
committerGreg Kroah-Hartman <gregkh@google.com>2015-10-09 13:58:17 -0700
commit1575ef18aea40ab1f6915917901a80ca780188a6 (patch)
tree73a9f53fa60bec580351ae705ff0469099dafade /drivers/staging/greybus/greybus_protocols.h
parentd3247a3fc7123f7001829a6ece731cf23e56a829 (diff)
downloadlinux-1575ef18aea40ab1f6915917901a80ca780188a6.tar.bz2
greybus: svc: skip setting flags for boot over unipro
We need to skip setting E2EFC and other flags to the SVC connection create request, for all cports, on an interface that need to boot over unipro, i.e. interfaces required to download firmware. This also adds a FIXME as we need to do it differently for ES3. Tested-by: Eli Sennesh <esennesh@leaflabs.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off by: Eli Sennesh <esennesh@leaflabs.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/greybus_protocols.h')
-rw-r--r--drivers/staging/greybus/greybus_protocols.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/staging/greybus/greybus_protocols.h b/drivers/staging/greybus/greybus_protocols.h
index 4819cd0e229e..dbf409fa16f3 100644
--- a/drivers/staging/greybus/greybus_protocols.h
+++ b/drivers/staging/greybus/greybus_protocols.h
@@ -832,6 +832,13 @@ struct gb_svc_dme_peer_set_response {
#define DME_ATTR_SELECTOR_INDEX 0
#define DME_ATTR_T_TST_SRC_INCREMENT 0x4083
+/* Return value from TST_SRC_INCREMENT */
+#define DME_TSI_SPI_BOOT_STARTED 0x02
+#define DME_TSI_TRUSTED_SPI_BOOT_FINISHED 0x03
+#define DME_TSI_UNTRUSTED_SPI_BOOT_FINISHED 0x04
+#define DME_TSI_UNIPRO_BOOT_STARTED 0x06
+#define DME_TSI_FALLBACK_UNIPRO_BOOT_STARTED 0x09
+
struct gb_svc_route_create_request {
__u8 intf1_id;
__u8 dev1_id;