diff options
author | Tim Newsome <tim@sifive.com> | 2018-11-06 10:40:02 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-06 10:40:02 -0800 |
commit | 93de2c955cece02c4b67368d5210e79e5d9b3f5a (patch) | |
tree | 3af1d569ead569c157eee39f2091724f88ba6855 /tools | |
parent | 626df7d04bfe31edaf854e980b3d112d07b4d8fb (diff) | |
download | riscv-openocd-93de2c955cece02c4b67368d5210e79e5d9b3f5a.zip riscv-openocd-93de2c955cece02c4b67368d5210e79e5d9b3f5a.tar.gz riscv-openocd-93de2c955cece02c4b67368d5210e79e5d9b3f5a.tar.bz2 |
Clean up fespi flashing code (#313)v20181030
* WIP upstream review feedback.
See http://openocd.zylin.com/#/c/4656/
The main change is to get rid of macros that contain a return statement.
Change-Id: Iff79a8aa7c40ee04a8d1f07d973f9b29d4899d5c
* Remove unaligned head/tail code.
From inspection it's not clear to me that this is necessary at all. I've
been unable to make a test case that results in anything besides a
4-byte aligned flash to happen. Sections that aren't multiples of 4 are
common, and appear to work fine.
Change-Id: Idb6109ca015ae06b9d8f16bd883f9c8f5c51087d
* Move fespi native code into contrib/loaders
As suggested by http://openocd.zylin.com/#/c/4656/
Change-Id: I275012aa8a1ef6a0e8a2ec8ebe8643d87de24407
* Reenable hw mode if errors happen without it.
Change-Id: I1220033c13d02e8a441992bd6daa0ec3b5acbfca
* Default flash to not protected.
Requested by upstream review.
Change-Id: I61753bd9909d7f21ef6624037a865072c18bd1d8
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions