diff options
author | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-12-16 12:13:51 +0000 |
---|---|---|
committer | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-12-16 12:13:51 +0000 |
commit | 31b87f2eeb928657d8f5f9202d5f62ea55d7dd9c (patch) | |
tree | 92099cc96730f5e4d68362e22128c1564b732a34 /hw/pxa2xx.c | |
parent | 76ea08f970e558a99b2c5fd05bc4f4da87dfbc93 (diff) |
Initial PXA27x keypad support, by Armin Kuster.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3818 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/pxa2xx.c')
-rw-r--r-- | hw/pxa2xx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/pxa2xx.c b/hw/pxa2xx.c index a67ffefd0d..14e3b9573e 100644 --- a/hw/pxa2xx.c +++ b/hw/pxa2xx.c @@ -2153,6 +2153,8 @@ struct pxa2xx_state_s *pxa270_init(unsigned int sdram_size, s->i2s = pxa2xx_i2s_init(0x40400000, s->pic[PXA2XX_PIC_I2S], s->dma); + s->kp = pxa27x_keypad_init(0x41500000, s->pic[PXA2XX_PIC_KEYPAD]); + /* GPIO1 resets the processor */ /* The handler can be overridden by board-specific code */ pxa2xx_gpio_out_set(s->gpio, 1, s->reset); |