From 37ca3d7810520d24e8cb1390e70c33a6bbd0f078 Mon Sep 17 00:00:00 2001 From: Megan Wachs Date: Sun, 18 Dec 2016 12:11:48 -0800 Subject: [PATCH] riscv: Increase the number of Algorithm Steps --- src/flash/nor/fespi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flash/nor/fespi.c b/src/flash/nor/fespi.c index 1dfd7852d..27580d6f7 100644 --- a/src/flash/nor/fespi.c +++ b/src/flash/nor/fespi.c @@ -877,7 +877,7 @@ static int fespi_write(struct flash_bank *bank, const uint8_t *buffer, if (retval != ERROR_OK) return retval; - struct algorithm_steps *as = as_new(count / 16); + struct algorithm_steps *as = as_new(count / 4); /* unaligned buffer head */ if (count > 0 && (offset & 3) != 0) {