diff options
author | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-10-28 21:02:29 +0000 |
---|---|---|
committer | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-10-28 21:02:29 +0000 |
commit | 6433014805f6f23050c4c4d0483b0241b3eaccb4 (patch) | |
tree | c34b89cba7334fb8186a76b030a69e78903487e0 /hw/palm.c | |
parent | 623a930ec30a75e6d6482ca8208d7bf1ca8d359b (diff) | |
download | qemu-6433014805f6f23050c4c4d0483b0241b3eaccb4.tar.gz qemu-6433014805f6f23050c4c4d0483b0241b3eaccb4.tar.bz2 qemu-6433014805f6f23050c4c4d0483b0241b3eaccb4.zip |
Add OMAP Shared GPIO module.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3473 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/palm.c')
-rw-r--r-- | hw/palm.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -158,7 +158,8 @@ static void palmte_init(int ram_size, int vga_ram_size, int boot_device, qemu_add_kbd_event_handler(palmte_button_event, cpu); - omap_mmc_handlers(cpu->mmc, 0, + omap_mmc_handlers(cpu->mmc, + omap_gpio_in_get(cpu->gpio)[PALMTE_MMC_WP_GPIO], qemu_allocate_irqs(palmte_mmc_cover, cpu, 1)[0]); /* Setup initial (reset) machine state */ |