]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/dfu.h
usb: dfu: f_dfu: Provide infrastructure to adjust DFU's Poll Timeout value
[karo-tx-uboot.git] / include / dfu.h
index 9a50721104c35292cd1d7899a3e80d2302823d48..f973426aa90b321e34e0127e785f114b869261f4 100644 (file)
@@ -77,6 +77,9 @@ static inline unsigned int get_mmc_blk_size(int dev)
 #ifndef CONFIG_SYS_DFU_MAX_FILE_SIZE
 #define CONFIG_SYS_DFU_MAX_FILE_SIZE CONFIG_SYS_DFU_DATA_BUF_SIZE
 #endif
+#ifndef DFU_DEFAULT_POLL_TIMEOUT
+#define DFU_DEFAULT_POLL_TIMEOUT 0
+#endif
 
 struct dfu_entity {
        char                    name[DFU_NAME_SIZE];