summaryrefslogtreecommitdiffstats
path: root/include/g_dnl.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/g_dnl.h
parent68ae882596524a2dde9da73283241b01d56375d5 (diff)
downloadblackbird-obmc-uboot-fe1b28c9f0954047f20b20253596b5ca9aef4a32.tar.gz
blackbird-obmc-uboot-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/g_dnl.h')
-rw-r--r--include/g_dnl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/g_dnl.h b/include/g_dnl.h
index 1b1b35e0e1..4eeb5e4070 100644
--- a/include/g_dnl.h
+++ b/include/g_dnl.h
@@ -39,4 +39,8 @@ int g_dnl_register(const char *s);
void g_dnl_unregister(void);
void g_dnl_set_serialnumber(char *);
+bool g_dnl_detach(void);
+void g_dnl_trigger_detach(void);
+void g_dnl_clear_detach(void);
+
#endif /* __G_DOWNLOAD_H_ */
OpenPOWER on IntegriCloud