diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2018-11-26 15:52:51 +0100 |
---|---|---|
committer | Tomas Vanek <vanekt@fbl.cz> | 2018-12-06 09:40:19 +0000 |
commit | 9d67f00670f861335f5dad1b2e03b3871e76545c (patch) | |
tree | 92170b74bea70319b7da9e25aa49fcff680c02d4 /tcl/interface | |
parent | 82dd17e2488ae233d8818901ec6f07525694e55e (diff) | |
download | riscv-openocd-9d67f00670f861335f5dad1b2e03b3871e76545c.zip riscv-openocd-9d67f00670f861335f5dad1b2e03b3871e76545c.tar.gz riscv-openocd-9d67f00670f861335f5dad1b2e03b3871e76545c.tar.bz2 |
flash/stmsmi: fix byte order for big-endian host
The original code was written for and tested on little-endian
host only.
Rewrite it to be independent by host endianess.
Not tested on real HW; I don't own anymore a SPEAr device.
Change-Id: I2f427a804693f56cb9dea4936c525eb814c48c28
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reported-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: http://openocd.zylin.com/4778
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Diffstat (limited to 'tcl/interface')
0 files changed, 0 insertions, 0 deletions