sim: bfin: respect the port level on signals to the SIC
authorMike Frysinger <vapier@gentoo.org>
Mon, 11 Apr 2011 05:23:26 +0000 (05:23 +0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 11 Apr 2011 05:23:26 +0000 (05:23 +0000)
commite10d6db33de978b0c64df4b8952fa590063581de
tree9aac577c4bcbd8fd67624333840486b6a2ccc5aa
parent8aacdaf48d5a39aaf986849e8396446363671ac0
sim: bfin: respect the port level on signals to the SIC

The SIC latches ints from peripherals to the CEC, but the peripherals
need to be able to tell the SIC when to stop.  So use the incoming level
to figure out when to set the int bits and when to clear it.

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