projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sim: bfin: fix inverted W1C logic
[binutils-gdb.git]
/
sim
/
bfin
/
dv-bfin_otp.c
diff --git
a/sim/bfin/dv-bfin_otp.c
b/sim/bfin/dv-bfin_otp.c
index 34bfb8d6e55a5b8f1a9f51a1ef83437210768106..5b15eeb118917465bd00d4b8124574204477efe3 100644
(file)
--- a/
sim/bfin/dv-bfin_otp.c
+++ b/
sim/bfin/dv-bfin_otp.c
@@
-149,7
+149,7
@@
bfin_otp_io_write_buffer (struct hw *me, const void *source, int space,
case mmr_offset(status):
dv_bfin_mmr_require_16 (me, addr, nr_bytes, true);
/* XXX: All bits seem to be W1C. */
- dv_w1c_2 (value16p, value,
0
);
+ dv_w1c_2 (value16p, value,
-1
);
break;
case mmr_offset(timing):
case mmr_offset(data0):