summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/interface.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/interface.h
parentd3247a3fc7123f7001829a6ece731cf23e56a829 (diff)
downloadop-kernel-dev-1575ef18aea40ab1f6915917901a80ca780188a6.zip
op-kernel-dev-1575ef18aea40ab1f6915917901a80ca780188a6.tar.gz
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/interface.h')
-rw-r--r--drivers/staging/greybus/interface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/staging/greybus/interface.h b/drivers/staging/greybus/interface.h
index 42b5d01..9bce94f 100644
--- a/drivers/staging/greybus/interface.h
+++ b/drivers/staging/greybus/interface.h
@@ -36,6 +36,9 @@ struct gb_interface {
struct gb_module *module;
struct greybus_host_device *hd;
+
+ /* The interface needs to boot over unipro */
+ bool boot_over_unipro;
};
#define to_gb_interface(d) container_of(d, struct gb_interface, dev)
OpenPOWER on IntegriCloud