diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2011-09-17 19:51:49 +0100 |
---|---|---|
committer | Andrzej Zaborowski <andrew.zaborowski@intel.com> | 2011-09-23 08:36:58 +0200 |
commit | 7e36b264ce524bc60b7b71dd45c05af767ceff2b (patch) | |
tree | 269b943248dd8bbf187dbd53eed28ed3701dd648 | |
parent | 7196345549474719eb85c675174ce3717adf771b (diff) |
hw/omap_gpmc: Modify correct field when writing IRQSTATUS register
Writing to IRQSTATUS should affect irqst, not irqen -- error
spotted by Andrzej Zaborowski.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
-rw-r--r-- | hw/omap_gpmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/omap_gpmc.c b/hw/omap_gpmc.c index e27b93c9b5..7fc82a2526 100644 --- a/hw/omap_gpmc.c +++ b/hw/omap_gpmc.c @@ -639,7 +639,7 @@ static void omap_gpmc_write(void *opaque, target_phys_addr_t addr, break; case 0x018: /* GPMC_IRQSTATUS */ - s->irqen &= ~value; + s->irqst &= ~value; omap_gpmc_int_update(s); break; |