summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2019-01-15 13:42:54 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-01-15 13:42:54 +0100
commit595cdd17b7906ac6945d2b543af31a01b0a51173 (patch)
tree341b6960ec1416e6df7b647e1d97dddcb5383d96 /include
parentc3583ce6789ed26bf0ce72ec0dc576071f25440a (diff)
parent6992f3194fec86a85eeb112bb5a61852493c41e2 (diff)
downloadbarebox-595cdd17b7906ac6945d2b543af31a01b0a51173.tar.gz
barebox-595cdd17b7906ac6945d2b543af31a01b0a51173.tar.xz
Merge branch 'for-next/fastboot'
Diffstat (limited to 'include')
-rw-r--r--include/usb/fastboot.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/usb/fastboot.h b/include/usb/fastboot.h
index 00c9d00df5..c0775c67dd 100644
--- a/include/usb/fastboot.h
+++ b/include/usb/fastboot.h
@@ -32,6 +32,14 @@ struct f_fastboot_opts {
*/
#define FASTBOOT_CMD_FALLTHROUGH 1
-int fastboot_tx_print(struct f_fastboot *f_fb, const char *fmt, ...);
+enum fastboot_msg_type {
+ FASTBOOT_MSG_OKAY,
+ FASTBOOT_MSG_FAIL,
+ FASTBOOT_MSG_INFO,
+ FASTBOOT_MSG_DATA,
+};
+
+int fastboot_tx_print(struct f_fastboot *f_fb, enum fastboot_msg_type type,
+ const char *fmt, ...);
#endif /* _USB_FASTBOOT_H */