diff options
author | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-03 00:51:03 +0000 |
---|---|---|
committer | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-03 00:51:03 +0000 |
commit | 4a2c8ac2bc67d689bc7df130d3105af52fa36b18 (patch) | |
tree | f22ed9b0b182f5b865d9fe717bb2527b3653490d /hw/omap.h | |
parent | f34c417ba63cd379ad7e1953bc3f520454601e27 (diff) | |
download | qemu-4a2c8ac2bc67d689bc7df130d3105af52fa36b18.tar.gz qemu-4a2c8ac2bc67d689bc7df130d3105af52fa36b18.tar.bz2 qemu-4a2c8ac2bc67d689bc7df130d3105af52fa36b18.zip |
Initial OMAP I^2C controller implementation (communication not tested).
Correct an i2c_start_transfer comment.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3514 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/omap.h')
-rw-r--r-- | hw/omap.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -475,6 +475,11 @@ struct omap_uwire_s *omap_uwire_init(target_phys_addr_t base, void omap_uwire_attach(struct omap_uwire_s *s, struct uwire_slave_s *slave, int chipselect); +struct omap_i2c_s; +struct omap_i2c_s *omap_i2c_init(target_phys_addr_t base, + qemu_irq irq, qemu_irq *dma, omap_clk clk); +i2c_bus *omap_i2c_bus(struct omap_i2c_s *s); + /* omap_lcdc.c */ struct omap_lcd_panel_s; void omap_lcdc_reset(struct omap_lcd_panel_s *s); @@ -550,6 +555,8 @@ struct omap_mpu_state_s { omap_clk clk; } pwt; + struct omap_i2c_s *i2c; + /* MPU private TIPB peripherals */ struct omap_intr_handler_s *ih[2]; |