diff options
author | Benoît Canet <benoit.canet@gmail.com> | 2011-11-25 15:21:37 +0100 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-11-28 15:38:47 +0200 |
commit | 748781390916caa6a8258ed89524a82e508efadc (patch) | |
tree | 964d96491d857bde9bbb76c84be167e3a84bc172 /hw/omap.h | |
parent | 30af1ec7295b3fecab641320cf97208b0936571f (diff) |
omap_i2c: convert to memory API
Signed-off-by: Benoît Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/omap.h')
-rw-r--r-- | hw/omap.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -771,8 +771,11 @@ void omap_mmc_enable(struct omap_mmc_s *s, int enable); /* omap_i2c.c */ 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); +struct omap_i2c_s *omap_i2c_init(MemoryRegion *sysmem, + target_phys_addr_t base, + qemu_irq irq, + qemu_irq *dma, + omap_clk clk); struct omap_i2c_s *omap2_i2c_init(struct omap_target_agent_s *ta, qemu_irq irq, qemu_irq *dma, omap_clk fclk, omap_clk iclk); void omap_i2c_reset(struct omap_i2c_s *s); |