From: Heiko Schocher Date: Tue, 18 Mar 2014 07:09:57 +0000 (+0100) Subject: am335x, dfu: add DFU_MANIFEST_POLL_TIMEOUT to the siemens boards X-Git-Tag: v2014.04-rc3~23^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=401341d62175650e7966058360683cafeb15be88;p=u-boot am335x, dfu: add DFU_MANIFEST_POLL_TIMEOUT to the siemens boards as the siemens boards use dfu for updating a nand ubi partition add DFU_MANIFEST_POLL_TIMEOUT to them, so dfu host waits after complete transfer of the new image for DFU_MANIFEST_POLL_TIMEOUT ms before sending again an usb request. So the board have enough time to erase rest of the nand sectors. Signed-off-by: Heiko Schocher Reviewed-by: Lukasz Majewski Cc: Kyungmin Park Cc: Marek Vasut Cc: Tom Rini Cc: Pantelis Antoniou --- diff --git a/include/configs/siemens-am33x-common.h b/include/configs/siemens-am33x-common.h index 98b6e7206d..721c4e6bad 100644 --- a/include/configs/siemens-am33x-common.h +++ b/include/configs/siemens-am33x-common.h @@ -265,6 +265,7 @@ #define CONFIG_DFU_NAND #define CONFIG_CMD_DFU #define CONFIG_SYS_DFU_DATA_BUF_SIZE (1 << 20) +#define DFU_MANIFEST_POLL_TIMEOUT 25000 #endif /* CONFIG_SPL_BUILD */