mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
pxa2xx_keypad: convert to memory API
Signed-off-by: Benoit Canet <benoit.canet@gmail.com> Signed-off-by: Avi Kivity <avi@redhat.com>
This commit is contained in:
parent
59aee13c82
commit
6cd816b83f
3 changed files with 19 additions and 22 deletions
|
@ -2149,7 +2149,7 @@ PXA2xxState *pxa270_init(MemoryRegion *address_space,
|
|||
qdev_get_gpio_in(s->dma, PXA2XX_RX_RQ_I2S),
|
||||
qdev_get_gpio_in(s->dma, PXA2XX_TX_RQ_I2S));
|
||||
|
||||
s->kp = pxa27x_keypad_init(0x41500000,
|
||||
s->kp = pxa27x_keypad_init(address_space, 0x41500000,
|
||||
qdev_get_gpio_in(s->pic, PXA2XX_PIC_KEYPAD));
|
||||
|
||||
/* GPIO1 resets the processor */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue