mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
omap_gpmc: GPMC_IRQSTATUS is write-one-to-clear
Fix a bug in the handling of writes to GPMC_IRQSTATUS: it behaves as "write one to clear, writing zero is ignored". Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
3387bf5581
commit
9c8255e124
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ static void omap_gpmc_write(void *opaque, target_phys_addr_t addr,
|
|||
break;
|
||||
|
||||
case 0x018: /* GPMC_IRQSTATUS */
|
||||
s->irqen = ~value;
|
||||
s->irqen &= ~value;
|
||||
omap_gpmc_int_update(s);
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue