Skip to content

Commit b474c22

Browse files
authored
Merge pull request #9 from sifive/increase_as_size
riscv: Increase the number of Algorithm Steps
2 parents e31dd22 + 37ca3d7 commit b474c22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/flash/nor/fespi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -877,7 +877,7 @@ static int fespi_write(struct flash_bank *bank, const uint8_t *buffer,
877877
if (retval != ERROR_OK)
878878
return retval;
879879

880-
struct algorithm_steps *as = as_new(count / 16);
880+
struct algorithm_steps *as = as_new(count / 4);
881881

882882
/* unaligned buffer head */
883883
if (count > 0 && (offset & 3) != 0) {

0 commit comments

Comments
 (0)