riscv: Increase the number of Algorithm Steps
This commit is contained in:
parent
e31dd225fa
commit
37ca3d7810
|
@ -877,7 +877,7 @@ static int fespi_write(struct flash_bank *bank, const uint8_t *buffer,
|
||||||
if (retval != ERROR_OK)
|
if (retval != ERROR_OK)
|
||||||
return retval;
|
return retval;
|
||||||
|
|
||||||
struct algorithm_steps *as = as_new(count / 16);
|
struct algorithm_steps *as = as_new(count / 4);
|
||||||
|
|
||||||
/* unaligned buffer head */
|
/* unaligned buffer head */
|
||||||
if (count > 0 && (offset & 3) != 0) {
|
if (count > 0 && (offset & 3) != 0) {
|
||||||
|
|
Loading…
Reference in New Issue