diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2019-01-15 13:42:54 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-01-15 13:42:54 +0100 |
commit | 595cdd17b7906ac6945d2b543af31a01b0a51173 (patch) | |
tree | 341b6960ec1416e6df7b647e1d97dddcb5383d96 /include | |
parent | c3583ce6789ed26bf0ce72ec0dc576071f25440a (diff) | |
parent | 6992f3194fec86a85eeb112bb5a61852493c41e2 (diff) | |
download | barebox-595cdd17b7906ac6945d2b543af31a01b0a51173.tar.gz barebox-595cdd17b7906ac6945d2b543af31a01b0a51173.tar.xz |
Merge branch 'for-next/fastboot'
Diffstat (limited to 'include')
-rw-r--r-- | include/usb/fastboot.h | 10 |
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 */ |