]> git.sur5r.net Git - openocd/commitdiff
flash: increase stellaris flash loader buffer
authorSpencer Oliver <ntfreak@users.sourceforge.net>
Tue, 24 Aug 2010 19:52:04 +0000 (20:52 +0100)
committerSpencer Oliver <ntfreak@users.sourceforge.net>
Tue, 31 Aug 2010 19:09:25 +0000 (20:09 +0100)
This speeds up programming for targets with more working area,

Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
src/flash/nor/stellaris.c

index 03800fd83de20c691fe99d3340a7fe5be23e8882..287be12d7021ee20974fe208c512ca37a433e2b2 100644 (file)
@@ -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;