diff --git a/hw/pxa2xx_pic.c b/hw/pxa2xx_pic.c index 308d052a64..86c0ee6bbc 100644 --- a/hw/pxa2xx_pic.c +++ b/hw/pxa2xx_pic.c @@ -268,6 +268,8 @@ DeviceState *pxa2xx_pic_init(target_phys_addr_t base, CPUState *env) qdev_init_gpio_in(dev, pxa2xx_pic_set_irq, PXA2XX_PIC_SRCS); + sysbus_mmio_map(sysbus_from_qdev(dev), 0, base); + /* Enable IC memory-mapped registers access. */ iomemtype = cpu_register_io_memory(pxa2xx_pic_readfn, pxa2xx_pic_writefn, s, DEVICE_NATIVE_ENDIAN);