summaryrefslogtreecommitdiff
path: root/sim/bfin/dv-bfin_otp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/bfin/dv-bfin_otp.c')
-rw-r--r--sim/bfin/dv-bfin_otp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/bfin/dv-bfin_otp.c b/sim/bfin/dv-bfin_otp.c
index 34bfb8d6e55..5b15eeb1189 100644
--- 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):