diff options
author | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-18 12:14:41 +0000 |
---|---|---|
committer | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-18 12:14:41 +0000 |
commit | c66fb5bc0a1a1f04083fd52467d4e72942f7d38b (patch) | |
tree | ece4cd1d76c57074e8a7ec29ae5833a7015c3c41 /hw/omap_i2c.c | |
parent | 4eeed608c5999f52c1fe682262721fb01aee26e9 (diff) | |
download | qemu-c66fb5bc0a1a1f04083fd52467d4e72942f7d38b.zip qemu-c66fb5bc0a1a1f04083fd52467d4e72942f7d38b.tar.gz qemu-c66fb5bc0a1a1f04083fd52467d4e72942f7d38b.tar.bz2 |
Collapse omap peripherals on L4 bus into one io entry (temporarily).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4489 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/omap_i2c.c')
-rw-r--r-- | hw/omap_i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/omap_i2c.c b/hw/omap_i2c.c index 9915676..f3ccbf0 100644 --- a/hw/omap_i2c.c +++ b/hw/omap_i2c.c @@ -526,7 +526,7 @@ struct omap_i2c_s *omap2_i2c_init(struct omap_target_agent_s *ta, s->bus = i2c_init_bus(); omap_i2c_reset(s); - iomemtype = cpu_register_io_memory(0, omap_i2c_readfn, + iomemtype = l4_register_io_memory(0, omap_i2c_readfn, omap_i2c_writefn, s); s->base = omap_l4_attach(ta, 0, iomemtype); |