This fixes commit
3768df292a8 ("samsung: misc_init_r: insert call to
platform_setup()") after rebase, because due to other changes, that code
was never reached.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I69b70f61ca5d544744a440bd1d355ebb5072d597
static int do_dfu(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
{
-
+#ifndef CONFIG_DFU_OVER_USB
if (argc < 2)
return CMD_RET_USAGE;
-
+#endif
#ifdef CONFIG_DFU_OVER_USB
char *usb_controller = argv[1];
#endif