From: Spencer Oliver Date: Tue, 24 Aug 2010 19:52:04 +0000 (+0100) Subject: flash: increase stellaris flash loader buffer X-Git-Tag: v0.5.0-rc1~435 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1ca286557a7b41211cae7026c99d41af031af177;p=openocd flash: increase stellaris flash loader buffer This speeds up programming for targets with more working area, Signed-off-by: Spencer Oliver --- 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;