From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lukasz Majewski Date: Fri, 20 Jun 2014 09:54:48 +0200 Subject: [U-Boot] [PATCH 2/4] dfu: allow backend to specify a maximum buffer size In-Reply-To: <1402524216-9999-2-git-send-email-swarren@wwwdotorg.org> References: <1402524216-9999-1-git-send-email-swarren@wwwdotorg.org> <1402524216-9999-2-git-send-email-swarren@wwwdotorg.org> Message-ID: <20140620095448.1a513a4f@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 Stephen, > From: Stephen Warren > > CONFIG_SYS_DFU_DATA_BUF_SIZE may be large to allow for FAT/ext layouts > to transfer large files. However, this means that individual write > operations will take a long time. Allow backends to specify a maximum > buffer size, so that each write operation is limited to a smaller data > block. This prevents the DFU protocol from timing out when e.g. > writing to SPI flash. I would guess that NAND might benefit from > setting this value too, but I can't test that. > > Signed-off-by: Stephen Warren Applied to u-boot-dfu Thanks for the patch. -- Best regards, Lukasz Majewski Samsung R&D Institute Poland (SRPOL) | Linux Platform Group