Skip to content
This repository has been archived by the owner on Sep 28, 2019. It is now read-only.

Commit

Permalink
Merge pull request #9 from sifive/increase_as_size
Browse files Browse the repository at this point in the history
riscv: Increase the number of Algorithm Steps
  • Loading branch information
timsifive authored Dec 19, 2016
2 parents e31dd22 + 37ca3d7 commit b474c22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flash/nor/fespi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b474c22

Please sign in to comment.