summaryrefslogtreecommitdiff
path: root/include/dfu.h
diff options
context:
space:
mode:
authorMateusz Zalega <m.zalega@samsung.com>2014-04-28 21:13:28 +0200
committerLukasz Majewski <l.majewski@samsung.com>2014-05-05 08:21:47 +0200
commitc4d0e856047f2689278ffea63a562c4f22a35ee3 (patch)
treeae6a7cb91039b0ffa70ae0ebcb4618896d5d725c /include/dfu.h
parentfad8edf0f72b8aba8885d2d137ebb58b3428806a (diff)
downloadu-boot-imx-c4d0e856047f2689278ffea63a562c4f22a35ee3.zip
u-boot-imx-c4d0e856047f2689278ffea63a562c4f22a35ee3.tar.gz
u-boot-imx-c4d0e856047f2689278ffea63a562c4f22a35ee3.tar.bz2
USB: gadget: added a saner gadget downloader registration API
Preprocessor definitions and hardcoded implementation selection in g_dnl core were replaced by a linker list made of (usb_function_name, bind_callback) pairs. Signed-off-by: Mateusz Zalega <m.zalega@samsung.com> Acked-by: Lukasz Majewski <l.majewski@samsung.com> Acked-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'include/dfu.h')
-rw-r--r--include/dfu.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/dfu.h b/include/dfu.h
index dcd3215..2409168 100644
--- a/include/dfu.h
+++ b/include/dfu.h
@@ -168,12 +168,5 @@ static inline int dfu_fill_entity_ram(struct dfu_entity *dfu, char *s)
}
#endif
-#ifdef CONFIG_DFU_FUNCTION
int dfu_add(struct usb_configuration *c);
-#else
-int dfu_add(struct usb_configuration *c)
-{
- return 0;
-}
-#endif
#endif /* __DFU_ENTITY_H_ */