summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2014-09-02 16:37:57 -0400
committerTom Rini <trini@ti.com>2014-09-02 16:37:57 -0400
commit48f892dc7370a23882239be06b4ec2ce60273e57 (patch)
tree050d8d28ef207dc8a00cf3f763f4997c66dfaeb9 /include
parent2c19478e01ab145c8b3a1f5b1beca9958d942e98 (diff)
parent06fa91cd671eae291b05e2138d291c56ddd394df (diff)
downloadu-boot-imx-48f892dc7370a23882239be06b4ec2ce60273e57.zip
u-boot-imx-48f892dc7370a23882239be06b4ec2ce60273e57.tar.gz
u-boot-imx-48f892dc7370a23882239be06b4ec2ce60273e57.tar.bz2
Merge git://git.denx.de/u-boot-usb
Diffstat (limited to 'include')
-rw-r--r--include/dfu.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/dfu.h b/include/dfu.h
index 7e0a999..f1a71c7 100644
--- a/include/dfu.h
+++ b/include/dfu.h
@@ -150,11 +150,14 @@ struct dfu_entity *dfu_get_entity(int alt);
char *dfu_extract_token(char** e, int *n);
void dfu_trigger_reset(void);
int dfu_get_alt(char *name);
-bool dfu_reset(void);
+bool dfu_detach(void);
+void dfu_trigger_detach(void);
+void dfu_clear_detach(void);
int dfu_init_env_entities(char *interface, char *devstr);
unsigned char *dfu_get_buf(struct dfu_entity *dfu);
unsigned char *dfu_free_buf(void);
unsigned long dfu_get_buf_size(void);
+bool dfu_usb_get_reset(void);
int dfu_read(struct dfu_entity *de, void *buf, int size, int blk_seq_num);
int dfu_write(struct dfu_entity *de, void *buf, int size, int blk_seq_num);