mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
Merge pull request #283 from kbeckmann/kbeckmann/bios_increment_address
bios: Increment address when writing to flash
This commit is contained in:
commit
b6d35c92ae
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ static void fw(char *addr, char *value, char *count)
|
|||
return;
|
||||
}
|
||||
}
|
||||
for (i=0;i<count2;i++) write_to_flash(addr2, (unsigned char *)&value2, 4);
|
||||
for (i=0;i<count2;i++) write_to_flash(addr2 + i * 4, (unsigned char *)&value2, 4);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue