Merge pull request #9 from sifive/increase_as_size

riscv: Increase the number of Algorithm Steps
__archive__
Tim Newsome 2016-12-19 09:42:47 -08:00 committed by GitHub
commit b474c22b33
1 changed files with 1 additions and 1 deletions

View File

@ -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) {