From 1ca286557a7b41211cae7026c99d41af031af177 Mon Sep 17 00:00:00 2001 From: Spencer Oliver Date: Tue, 24 Aug 2010 20:52:04 +0100 Subject: [PATCH] flash: increase stellaris flash loader buffer This speeds up programming for targets with more working area, Signed-off-by: Spencer Oliver --- src/flash/nor/stellaris.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flash/nor/stellaris.c b/src/flash/nor/stellaris.c index 03800fd83..287be12d7 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;