summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2011-01-31 18:20:46 +0300
committerAndrzej Zaborowski <balrog@zabor.org>2011-02-11 01:52:04 +0100
commitf23c1b2a38b1c77261c761cc2b9795d98065386f (patch)
treeec5fc3b3dfe022a75db1433d0be693f2bdabe87f
parent0fba9fd6c305fd1fbe950eb4136dc9edc36cb3fd (diff)
downloadhqemu-f23c1b2a38b1c77261c761cc2b9795d98065386f.zip
hqemu-f23c1b2a38b1c77261c761cc2b9795d98065386f.tar.gz
tc6393xb: correct NAND isr assertion
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
-rw-r--r--hw/tc6393xb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/tc6393xb.c b/hw/tc6393xb.c
index c3fbe4e..0cadcde 100644
--- a/hw/tc6393xb.c
+++ b/hw/tc6393xb.c
@@ -381,7 +381,7 @@ static void tc6393xb_nand_writeb(TC6393xbState *s, target_phys_addr_t addr, uint
case NAND_DATA + 2:
case NAND_DATA + 3:
nand_setio(s->flash, value);
- s->nand.isr &= 1;
+ s->nand.isr |= 1;
tc6393xb_nand_irq(s);
return;
case NAND_MODE:
OpenPOWER on IntegriCloud