Hi Lukasz,

On 12/10/2013 04:27 PM, Lukasz Majewski wrote:
Hi Bo,

Hi Lukasz,

On 12/09/2013 11:20 PM, Lukasz Majewski wrote:
diff --git a/drivers/usb/gadget/f_dfu.h b/drivers/usb/gadget/f_dfu.h
index cc2c455..0c29954 100644
--- a/drivers/usb/gadget/f_dfu.h
+++ b/drivers/usb/gadget/f_dfu.h
@@ -82,4 +82,6 @@ struct dfu_function_descriptor {
        __le16                          wTransferSize;
        __le16                          bcdDFUVersion;
   } __packed;
+
+#define DFU_POLL_TIMEOUT_MASK           (0xFFFFFFUL)

Why this value? How about (~0UL)?

According to DFU 1.1 standard, the bwPolTimeout field of DFU_GETSTATUS
request has 3 bytes in size.

Thanks for clarify this.

Tested OK on sama5d3xek board.
Tested-by: Bo Shen <voice.s...@atmel.com>


   #endif /* __F_DFU_H_ */

Best Regards,
Bo Shen


Best Regards,
Bo Shen

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to