diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2014-02-26 15:01:43 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-02-28 08:14:14 +0100 |
commit | 991a12da04e85c58bf404637b4ad6c6d2ba018fe (patch) | |
tree | 2bacb0042d6a4b03fc53de97330711b75c744344 /include/usb/dfu.h | |
parent | 9b731118f9d42b2f4ebd3528ef3e4f9496461082 (diff) | |
download | barebox-991a12da04e85c58bf404637b4ad6c6d2ba018fe.tar.gz barebox-991a12da04e85c58bf404637b4ad6c6d2ba018fe.tar.xz |
usb: dfu: Add create flag
With the create flag DFU can upload to regular, previously non existing
files.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/usb/dfu.h')
-rw-r--r-- | include/usb/dfu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/usb/dfu.h b/include/usb/dfu.h index 00031e7da7..df4f2fd4d6 100644 --- a/include/usb/dfu.h +++ b/include/usb/dfu.h @@ -24,6 +24,7 @@ #define DFU_FLAG_SAFE (1 << 0) #define DFU_FLAG_READBACK (1 << 1) +#define DFU_FLAG_CREATE (1 << 2) struct usb_dfu_dev { char *name; |