summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorB, Ravi <ravibabu@ti.com>2016-07-28 17:39:15 +0530
committerMarek Vasut <marex@denx.de>2016-09-27 23:30:18 +0200
commit05341a87646aceac90a63624fbd5fa620f8dc263 (patch)
tree18703766f5930a3d0526e4c75877c0add4cf3d22 /include
parentbc5dbcb91813a429d168de58b37cb5b291d7be75 (diff)
downloadu-boot-05341a87646aceac90a63624fbd5fa620f8dc263.tar.gz
u-boot-05341a87646aceac90a63624fbd5fa620f8dc263.tar.bz2
u-boot-05341a87646aceac90a63624fbd5fa620f8dc263.zip
common: dfu: saperate the dfu common functionality
The cmd_dfu functionality is been used by both SPL and u-boot, saperating the core dfu functionality moving it to common/dfu.c. Signed-off-by: Ravi Babu <ravibabu@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include')
-rw-r--r--include/g_dnl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/g_dnl.h b/include/g_dnl.h
index ba49f1f5cb..bd29a9f83a 100644
--- a/include/g_dnl.h
+++ b/include/g_dnl.h
@@ -43,5 +43,6 @@ void g_dnl_set_serialnumber(char *);
bool g_dnl_detach(void);
void g_dnl_trigger_detach(void);
void g_dnl_clear_detach(void);
+int run_usb_dnl_gadget(int usbctrl_index, char *usb_dnl_gadget);
#endif /* __G_DOWNLOAD_H_ */