sim: bfin: fix clear/set/toggle GPIO handling
authorMike Frysinger <vapier@gentoo.org>
Fri, 25 Mar 2011 00:12:47 +0000 (00:12 +0000)
committerMike Frysinger <vapier@gentoo.org>
Fri, 25 Mar 2011 00:12:47 +0000 (00:12 +0000)
commiteaf863cd1ef55ef8c276e5dd7c277f22522a0436
treedfc0285293eb6eee6123708c8aa73635d6c86e68
parentee196b8c2b47bcb9a090a9f144664b10523117e0
sim: bfin: fix clear/set/toggle GPIO handling

The clear/set/toggle MMRs aren't backed by "real" data; they implicitly
perform bit operations on the associated data register.  So when we go
to process writes to them, we need to adjust the pointer accordingly so
that the actual backing data is modified.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
sim/bfin/ChangeLog
sim/bfin/dv-bfin_gpio.c