X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=drivers%2Fusb%2Fgadget%2Ff_dfu.h;h=0c29954add7d8c32f8cf4aea2ca0415c1e024b64;hb=ec0cc98f2cb7fa217ed0a1a54978e2d8f2fbc20c;hp=023e1adacc3c321b5816ab612169f6344d5d7d43;hpb=495dbd72dd1172de866ba323263a5b62cf454972;p=u-boot diff --git a/drivers/usb/gadget/f_dfu.h b/drivers/usb/gadget/f_dfu.h index 023e1adacc..0c29954add 100644 --- a/drivers/usb/gadget/f_dfu.h +++ b/drivers/usb/gadget/f_dfu.h @@ -4,19 +4,7 @@ * Copyright (C) 2011-2012 Samsung Electronics * author: Andrzej Pietrasiewicz * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __F_DFU_H_ @@ -95,6 +83,5 @@ struct dfu_function_descriptor { __le16 bcdDFUVersion; } __packed; -/* configuration-specific linkup */ -int dfu_add(struct usb_configuration *c); +#define DFU_POLL_TIMEOUT_MASK (0xFFFFFFUL) #endif /* __F_DFU_H_ */