2 * Copyright 2008 - 2009 Windriver, <www.windriver.com>
3 * Author: Tom Rix <Tom.Rix@windriver.com>
5 * (C) Copyright 2014 Linaro, Ltd.
6 * Rob Herring <robh@kernel.org>
8 * SPDX-License-Identifier: GPL-2.0+
14 static int do_fastboot(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[])
19 ret = g_dnl_register("usb_dnl_fastboot");
28 usb_gadget_handle_interrupts();
33 return CMD_RET_SUCCESS;
37 fastboot, 1, 0, do_fastboot,
38 "use USB Fastboot protocol",
40 " - run as a fastboot usb device"