diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2016-04-28 10:06:38 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2016-04-29 14:34:32 -0700 |
commit | cca22207673896262443c72f19b049552d65f88e (patch) | |
tree | 210b5f5de80bdd89340301f5cf95574ef42ac5cd /drivers/staging/greybus/firmware.h | |
parent | 7adb32b429ce38bae39e277ae2cc37c93770104f (diff) | |
download | op-kernel-dev-cca22207673896262443c72f19b049552d65f88e.zip op-kernel-dev-cca22207673896262443c72f19b049552d65f88e.tar.gz |
greybus: firmware: Add firmware-download protocol driver
This patch adds Firmware Download Protocol support to firmware core,
which allows an Interface to download a firmware package over Unipro.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Jun Li <li_jun@projectara.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/firmware.h')
-rw-r--r-- | drivers/staging/greybus/firmware.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/drivers/staging/greybus/firmware.h b/drivers/staging/greybus/firmware.h new file mode 100644 index 0000000..c5736d5 --- /dev/null +++ b/drivers/staging/greybus/firmware.h @@ -0,0 +1,20 @@ +/* + * Greybus Firmware Management Header + * + * Copyright 2016 Google Inc. + * Copyright 2016 Linaro Ltd. + * + * Released under the GPLv2 only. + */ + +#ifndef __FIRMWARE_H +#define __FIRMWARE_H + +#include "greybus.h" + +/* Firmware Download Protocol specific functions */ +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); + +#endif /* __FIRMWARE_H */ |