diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2011-08-28 16:22:18 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2011-08-28 16:37:12 +0000 |
commit | 77c6c7369035c25d9d4babd920dbe691e3453cfc (patch) | |
tree | 0072351480f872ffec61c28839823d4f5142a670 /hw | |
parent | 9c8255e12422771cdecbb3bf538f0732be629e2a (diff) |
omap_gpmc: Wire up the GPMC IRQ correctly
The omap_gpmc wasn't actually wiring up its IRQ, so
anything that provoked an interrupt would be using
uninitialised data for its IRQ number.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/omap_gpmc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/omap_gpmc.c b/hw/omap_gpmc.c index ff4d4854ea..b728397c3f 100644 --- a/hw/omap_gpmc.c +++ b/hw/omap_gpmc.c @@ -407,6 +407,7 @@ struct omap_gpmc_s *omap_gpmc_init(target_phys_addr_t base, qemu_irq irq) memory_region_init_io(&s->iomem, &omap_gpmc_ops, s, "omap-gpmc", 0x1000); memory_region_add_subregion(get_system_memory(), base, &s->iomem); + s->irq = irq; omap_gpmc_reset(s); return s; |