summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/greybus_protocols.h
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2016-07-25 14:38:07 -0700
committerGreg Kroah-Hartman <gregkh@google.com>2016-07-26 16:16:15 -0700
commit911415ae6ee29cb76e018e8df8715c743a3a3d63 (patch)
treee5a64804938354f434027ef05ee93967c930536e /drivers/staging/greybus/greybus_protocols.h
parent0c543f9bb2dfa4239a601bff70e66020c2daec59 (diff)
downloadop-kernel-dev-911415ae6ee29cb76e018e8df8715c743a3a3d63.zip
op-kernel-dev-911415ae6ee29cb76e018e8df8715c743a3a3d63.tar.gz
greybus: firmware: Add new status types for backend updated request
The specification got updated with two more status values, add their support in greybus. As retry isn't really an error, skip printing error messages for it as well. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/greybus/greybus_protocols.h b/drivers/staging/greybus/greybus_protocols.h
index 2de5aef..e51c2b1 100644
--- a/drivers/staging/greybus/greybus_protocols.h
+++ b/drivers/staging/greybus/greybus_protocols.h
@@ -367,6 +367,8 @@ struct gb_fw_download_release_firmware_request {
#define GB_FW_BACKEND_FW_STATUS_FAIL_FETCH 0x03
#define GB_FW_BACKEND_FW_STATUS_FAIL_WRITE 0x04
#define GB_FW_BACKEND_FW_STATUS_INT 0x05
+#define GB_FW_BACKEND_FW_STATUS_RETRY 0x06
+#define GB_FW_BACKEND_FW_STATUS_NOT_SUPPORTED 0x07
/* firmware management interface firmware version request has no payload */
struct gb_fw_mgmt_interface_fw_version_response {
OpenPOWER on IntegriCloud