projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2982837
)
dfu: Only perform DFU board_usb_init() for TRATS
author
Pantelis Antoniou
<panto@antoniou-consulting.com>
Fri, 30 Nov 2012 08:01:07 +0000
(08:01 +0000)
committer
Marek Vasut
<marex@denx.de>
Sat, 16 Mar 2013 20:12:01 +0000
(21:12 +0100)
USB initialization shouldn't happen for all the boards.
Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>
common/cmd_dfu.c
patch
|
blob
|
history
diff --git
a/common/cmd_dfu.c
b/common/cmd_dfu.c
index 01d6b3a2d66b6a4780f8a479ff41ffd2a5bd601b..327c738af795d250d3a824349cad4cdac84454b9 100644
(file)
--- a/
common/cmd_dfu.c
+++ b/
common/cmd_dfu.c
@@
-55,7
+55,10
@@
static int do_dfu(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
goto done;
}
+#ifdef CONFIG_TRATS
board_usb_init();
+#endif
+
g_dnl_register(s);
while (1) {
if (ctrlc())