aboutsummaryrefslogtreecommitdiffstats
path: root/hw/omap.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/omap.h')
-rw-r--r--hw/omap.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/hw/omap.h b/hw/omap.h
index 0735fcc7e..4b5b57973 100644
--- a/hw/omap.h
+++ b/hw/omap.h
@@ -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];