Revision 3efda49d hw/omap.c

b/hw/omap.c
3184 3184
    }
3185 3185
}
3186 3186

  
3187
/* *Some* sources say the memory region is 32-bit.  */
3187 3188
static CPUReadMemoryFunc *omap_gpio_readfn[] = {
3189
    omap_badwidth_read16,
3188 3190
    omap_gpio_read,
3189
    omap_badwidth_read32,
3190
    omap_badwidth_read32,
3191
    omap_badwidth_read16,
3191 3192
};
3192 3193

  
3193 3194
static CPUWriteMemoryFunc *omap_gpio_writefn[] = {
3195
    omap_badwidth_write16,
3194 3196
    omap_gpio_write,
3195
    omap_badwidth_write32,
3196
    omap_badwidth_write32,
3197
    omap_badwidth_write16,
3197 3198
};
3198 3199

  
3199 3200
void omap_gpio_reset(struct omap_gpio_s *s)
......
3551 3552
                    s->irq[1][OMAP_INT_KEYBOARD], s->irq[1][OMAP_INT_MPUIO],
3552 3553
                    s->wakeup, omap_findclk(s, "clk32-kHz"));
3553 3554

  
3554
    s->gpio = omap_gpio_init(0xfffcf000, s->irq[0][OMAP_INT_GPIO_BANK1],
3555
    s->gpio = omap_gpio_init(0xfffce000, s->irq[0][OMAP_INT_GPIO_BANK1],
3555 3556
                    omap_findclk(s, "mpuper_ck"));
3556 3557

  
3557 3558
    s->microwire = omap_uwire_init(0xfffb3000, &s->irq[1][OMAP_INT_uWireTX],

Also available in: Unified diff