aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorHeiko Schocher2013-06-11 23:05:51 -0500
committerMarek Vasut2013-06-30 11:41:07 -0500
commite7e75c70c5d5d3365606c4a76adb7ff4822d2f75 (patch)
treeaedfaf0f3b35a5b31260496dae82e69034717548 /README
parente6bf18dba2a21bebf2c421b1c2e188225f6485a1 (diff)
downloadu-boot-e7e75c70c5d5d3365606c4a76adb7ff4822d2f75.tar.gz
u-boot-e7e75c70c5d5d3365606c4a76adb7ff4822d2f75.tar.xz
u-boot-e7e75c70c5d5d3365606c4a76adb7ff4822d2f75.zip
dfu: make data buffer size configurable
Dfu transfer uses a buffer before writing data to the raw storage device. Make the size (in bytes) of this buffer configurable through environment variable "dfu_bufsiz". Defaut value is configurable through CONFIG_SYS_DFU_DATA_BUF_SIZE Signed-off-by: Heiko Schocher <hs@denx.de> Cc: Pantelis Antoniou <panto@antoniou-consulting.com> Cc: Tom Rini <trini@ti.com> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: Kyungmin Park <kyungmin.park@samsung.com> Cc: Marek Vasut <marex@denx.de> Cc: Wolfgang Denk <wd@denx.de> Acked-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'README')
-rw-r--r--README6
1 files changed, 6 insertions, 0 deletions
diff --git a/README b/README
index 5c343da32b..85e5a8d6d4 100644
--- a/README
+++ b/README
@@ -1392,6 +1392,12 @@ The following options need to be configured:
1392 CONFIG_DFU_NAND 1392 CONFIG_DFU_NAND
1393 This enables support for exposing NAND devices via DFU. 1393 This enables support for exposing NAND devices via DFU.
1394 1394
1395 CONFIG_SYS_DFU_DATA_BUF_SIZE
1396 Dfu transfer uses a buffer before writing data to the
1397 raw storage device. Make the size (in bytes) of this buffer
1398 configurable. The size of this buffer is also configurable
1399 through the "dfu_bufsiz" environment variable.
1400
1395 CONFIG_SYS_DFU_MAX_FILE_SIZE 1401 CONFIG_SYS_DFU_MAX_FILE_SIZE
1396 When updating files rather than the raw storage device, 1402 When updating files rather than the raw storage device,
1397 we use a static buffer to copy the file into and then write 1403 we use a static buffer to copy the file into and then write