commit | ea3e21226fdae4bbcb88e2de13480d122f617d64 | [log] [tgz] |
---|---|---|
author | Pantelis Antoniou <panto@antoniou-consulting.com> | Fri Nov 30 08:01:07 2012 +0000 |
committer | Marek Vasut <marex@denx.de> | Sat Mar 16 21:12:01 2013 +0100 |
tree | eb3ba365d2281ec1f1b929f49c8fc066846bca9d | |
parent | 2982837e36e56584b0ab0256dd82d306e4ba1249 [diff] |
dfu: Only perform DFU board_usb_init() for TRATS USB initialization shouldn't happen for all the boards. Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>
diff --git a/common/cmd_dfu.c b/common/cmd_dfu.c index 01d6b3a..327c738 100644 --- a/common/cmd_dfu.c +++ b/common/cmd_dfu.c
@@ -55,7 +55,10 @@ goto done; } +#ifdef CONFIG_TRATS board_usb_init(); +#endif + g_dnl_register(s); while (1) { if (ctrlc())