projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sim: bfin: include devices.h to fix build warnings
[deliverable/binutils-gdb.git]
/
sim
/
bfin
/
dv-bfin_twi.c
diff --git
a/sim/bfin/dv-bfin_twi.c
b/sim/bfin/dv-bfin_twi.c
index 8c775e6509bfe57b711c51d3dfd950d1195bc8cd..60b9041a6711b900b7373d5a98b8dba72a2345fa 100644
(file)
--- a/
sim/bfin/dv-bfin_twi.c
+++ b/
sim/bfin/dv-bfin_twi.c
@@
-1,6
+1,6
@@
/* Blackfin Two Wire Interface (TWI) model
/* Blackfin Two Wire Interface (TWI) model
- Copyright (C) 2010-201
1
Free Software Foundation, Inc.
+ Copyright (C) 2010-201
2
Free Software Foundation, Inc.
Contributed by Analog Devices, Inc.
This file is part of simulators.
Contributed by Analog Devices, Inc.
This file is part of simulators.
@@
-102,10
+102,10
@@
bfin_twi_io_write_buffer (struct hw *me, const void *source, int space,
*valuep = value;
break;
case mmr_offset(int_stat):
*valuep = value;
break;
case mmr_offset(int_stat):
- dv_w1c_2 (valuep, value,
0
);
+ dv_w1c_2 (valuep, value,
-1
);
break;
case mmr_offset(master_stat):
break;
case mmr_offset(master_stat):
- dv_w1c_2 (valuep, value,
MPROG | SDASEN | SCLSEN | BUSBUSY
);
+ dv_w1c_2 (valuep, value,
BUFWRERR | BUFRDERR | DNAK | ANAK | LOSTARB
);
break;
case mmr_offset(slave_stat):
case mmr_offset(fifo_stat):
break;
case mmr_offset(slave_stat):
case mmr_offset(fifo_stat):
This page took
0.023766 seconds
and
4
git commands to generate.