From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lukasz Majewski Date: Fri, 14 Mar 2014 11:48:15 +0100 Subject: [U-Boot] [PATCH 3/3] am335x, dfu: add DFU_MANIFEST_POLL_TIMEOUT to the siemens boards In-Reply-To: <1394618481-9572-4-git-send-email-hs@denx.de> References: <1394618481-9572-1-git-send-email-hs@denx.de> <1394618481-9572-4-git-send-email-hs@denx.de> Message-ID: <20140314114815.6b3924a3@amdc2363> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Heiko, > 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 > Cc: Lukasz Majewski > Cc: Kyungmin Park > Cc: Marek Vasut > Cc: Tom Rini > --- > include/configs/siemens-am33x-common.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/configs/siemens-am33x-common.h > b/include/configs/siemens-am33x-common.h index 98b6e72..721c4e6 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 */ > Reviewed-by: Lukasz Majewski -- Best regards, Lukasz Majewski Samsung R&D Institute Poland (SRPOL) | Linux Platform Group