diff options
author | Lukasz Majewski | 2016-01-28 17:14:52 +0100 |
---|---|---|
committer | Marek Vasut | 2016-02-24 19:12:32 +0100 |
commit | 7124a8c4cf014e88b1b569be4150459ca9a6345e (patch) | |
tree | 06a18ca8613f7d95cb1b53fe3efafc828c531f01 /include | |
parent | fc18f8d170ecc7e15269ad5312ec643addb42491 (diff) |
dfu: odroid xu3: Define DFU_MANIFEST_POLL_TIMEOUT to handle large files transmission and storage
As tested on the Odroid XU3, large files to be stored on the file system
require considerable time to be physically written to the medium.
The default 300 ms is not enough to store large file (e.g. 26 MiB).
To fix this situation the DFU_MANIFEST_POLL_TIMEOUT has been defined.
It is used to cease the communication with dfu-util and allow the target
board to store the data on file system.
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/odroid_xu3.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/odroid_xu3.h b/include/configs/odroid_xu3.h index 648e48bcf4b..500f0f9d4f9 100644 --- a/include/configs/odroid_xu3.h +++ b/include/configs/odroid_xu3.h @@ -69,6 +69,7 @@ #define CONFIG_CMD_DFU #define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_32M #define DFU_DEFAULT_POLL_TIMEOUT 300 +#define DFU_MANIFEST_POLL_TIMEOUT 25000 /* THOR */ #define CONFIG_G_DNL_THOR_VENDOR_NUM CONFIG_G_DNL_VENDOR_NUM |