commit | 4e3aac01f74e3b72a9aeb92cb8b7d5100bf5a76f | [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 | 0d6f77c3f21a59011361f4c2075e05995c9a0067 [diff] [blame] |
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())