summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSpencer Oliver <ntfreak@users.sourceforge.net>2010-08-24 20:52:04 +0100
committerSpencer Oliver <ntfreak@users.sourceforge.net>2010-08-31 20:09:25 +0100
commit1ca286557a7b41211cae7026c99d41af031af177 (patch)
treefb3614f8fcbe3501fd69475d744eb976c8ed05a7 /src
parent31b47688ca5015bc91fb3480135a9e4efd53586a (diff)
downloadopenocd_libswd-1ca286557a7b41211cae7026c99d41af031af177.tar.gz
openocd_libswd-1ca286557a7b41211cae7026c99d41af031af177.tar.bz2
openocd_libswd-1ca286557a7b41211cae7026c99d41af031af177.tar.xz
openocd_libswd-1ca286557a7b41211cae7026c99d41af031af177.zip
flash: increase stellaris flash loader buffer
This speeds up programming for targets with more working area, Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
Diffstat (limited to 'src')
-rw-r--r--src/flash/nor/stellaris.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nor/stellaris.c b/src/flash/nor/stellaris.c
index 03800fd8..287be12d 100644
--- a/src/flash/nor/stellaris.c
+++ b/src/flash/nor/stellaris.c
@@ -816,7 +816,7 @@ static int stellaris_write_block(struct flash_bank *bank,
uint8_t *buffer, uint32_t offset, uint32_t wcount)
{
struct target *target = bank->target;
- uint32_t buffer_size = 8192;
+ uint32_t buffer_size = 16384;
struct working_area *source;
struct working_area *write_algorithm;
uint32_t address = bank->base + offset;