]> git.sur5r.net Git - u-boot/commit
ARM: tegra: tweak DFU buffer sizes
authorStephen Warren <swarren@nvidia.com>
Sat, 5 Sep 2015 04:03:49 +0000 (22:03 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 11 Sep 2015 21:15:25 +0000 (17:15 -0400)
commitf69d72ee2a147b93f6d7664daf62af997e28f5b0
treeedd618637b8581eb7ab428cb2507819ac8383fd6
parent99d969612f6e46192b4a963a7e5f8466a884f920
ARM: tegra: tweak DFU buffer sizes

CONFIG_SYS_DFU_DATA_BUF_SIZE defines the size of chunks transferred
across USB. This doesn't need to be particularly large, since it doesn't
limit the overall transfer size.

CONFIG_SYS_DFU_MAX_FILE_SIZE is used to buffer an entire file before
writing it to a filesystem. This define limits the maximum file size that
may be transferred. Bump this up to 32MiB in order to support large
uncompressed kernel images.

Both of these buffers are dynamically allocated, and so the size of both
needs to be taken into account when calculating the required malloc
region size.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
include/configs/tegra-common-post.h
include/configs/tegra-common-usb-gadget.h