summaryrefslogtreecommitdiff
path: root/include/dfu.h
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2014-12-10 14:43:03 -0600
committerLukasz Majewski <l.majewski@samsung.com>2014-12-18 12:26:05 +0100
commitfe1b28c9f0954047f20b20253596b5ca9aef4a32 (patch)
treef4e2f85dc522e473ccb7f8df4615b12d4ae24988 /include/dfu.h
parent68ae882596524a2dde9da73283241b01d56375d5 (diff)
downloadu-boot-fe1b28c9f0954047f20b20253596b5ca9aef4a32.tar.gz
u-boot-fe1b28c9f0954047f20b20253596b5ca9aef4a32.tar.bz2
u-boot-fe1b28c9f0954047f20b20253596b5ca9aef4a32.zip
usb, g_dnl: generalize DFU detach functions
In order to add detach functions for fastboot, make the DFU detach related functions common so they can be shared. Signed-off-by: Rob Herring <robh@kernel.org> Tested-by: Lukasz Majewski <l.majewski@samsung.com> [TestHW: Exynos4412-Trats2]
Diffstat (limited to 'include/dfu.h')
-rw-r--r--include/dfu.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/dfu.h b/include/dfu.h
index f1a71c7902..c27856cb72 100644
--- a/include/dfu.h
+++ b/include/dfu.h
@@ -150,9 +150,6 @@ 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_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);